japicmp.maven.PluginParameters Maven / Gradle / Ivy
package japicmp.maven;
import japicmp.util.Optional;
import java.io.File;
import java.util.List;
public class PluginParameters {
private final boolean skipParam;
private final Version oldVersionParam;
private final List oldVersionsParam;
private final Version newVersionParam;
private final List newVersionsParam;
private final Parameter parameterParam;
private final List dependenciesParam;
private final List oldClassPathDependencies;
private final List newClassPathDependencies;
private final Optional projectBuildDirParam;
private final Optional outputDirectory;
private final boolean writeToFiles;
public PluginParameters(boolean skipParam, Version newVersionParam, Version oldVersionParam, Parameter parameterParam, List dependenciesParam, Optional projectBuildDirParam, Optional outputDirectory, boolean writeToFiles, List oldVersionsParam, List newVersionsParam, List oldClassPathDependencies, List newClassPathDependencies) {
this.skipParam = skipParam;
this.newVersionParam = newVersionParam;
this.oldVersionParam = oldVersionParam;
this.parameterParam = parameterParam == null ? new Parameter() : parameterParam;
this.dependenciesParam = dependenciesParam;
this.oldClassPathDependencies = oldClassPathDependencies;
this.newClassPathDependencies = newClassPathDependencies;
this.projectBuildDirParam = projectBuildDirParam;
this.outputDirectory = outputDirectory;
this.writeToFiles = writeToFiles;
this.oldVersionsParam = oldVersionsParam;
this.newVersionsParam = newVersionsParam;
}
public boolean getSkipParam() {
return skipParam;
}
public Version getNewVersionParam() {
return newVersionParam;
}
public Version getOldVersionParam() {
return oldVersionParam;
}
public Parameter getParameterParam() {
return parameterParam;
}
public List getDependenciesParam() {
return dependenciesParam;
}
public Optional getProjectBuildDirParam() {
return projectBuildDirParam;
}
public Optional getOutputDirectory() {
return outputDirectory;
}
public boolean isWriteToFiles() {
return writeToFiles;
}
public List getOldVersionsParam() {
return oldVersionsParam;
}
public List getNewVersionsParam() {
return newVersionsParam;
}
public List getOldClassPathDependencies() {
return oldClassPathDependencies;
}
public List getNewClassPathDependencies() {
return newClassPathDependencies;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy