io.ebean.codegen.DetectionMeta Maven / Gradle / Ivy
package io.ebean.codegen;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
public class DetectionMeta {
Set testClasspath = new LinkedHashSet<>();
Set runtimeClasspath = new LinkedHashSet<>();
List resourceDirs = new ArrayList<>();
List testResourceDirs = new ArrayList<>();
List compileSourceRoots;
List testSourceRoots;
private String outputDirectory;
private String testOutputDirectory;
public List getTestSourceRoots() {
return testSourceRoots;
}
public void setTestSourceRoots(List testSourceRoots) {
this.testSourceRoots = testSourceRoots;
}
public void addSourceRoots(List compileSourceRoots) {
this.compileSourceRoots = compileSourceRoots;
}
public void addResourceDirectory(String directory) {
resourceDirs.add(directory);
}
public void addTestResourceDirectory(String directory) {
testResourceDirs.add(directory);
}
public void addTestClassPath(List classpathElements) {
testClasspath.addAll(classpathElements);
}
public void addRuntimeClassPath(List classpathElements) {
runtimeClasspath.addAll(classpathElements);
}
public void setOutputDirectory(String outputDirectory) {
this.outputDirectory = outputDirectory;
}
public String getOutputDirectory() {
return outputDirectory;
}
public void setTestOutputDirectory(String testOutputDirectory) {
this.testOutputDirectory = testOutputDirectory;
}
public String getTestOutputDirectory() {
return testOutputDirectory;
}
}