jolie.lang.parse.module.ModuleParsingConfiguration Maven / Gradle / Ivy
package jolie.lang.parse.module;
import java.util.Map;
import jolie.lang.parse.Scanner;
public class ModuleParsingConfiguration {
/**
* an array of string for lookup path of include statement in Module
*/
private final String[] includePaths;
private final String[] packagePaths;
private final String charset;
private final ClassLoader classLoader;
private final boolean includeDocumentation;
private final Map< String, Scanner.Token > constantsMap;
private final boolean useGlobalCache;
public ModuleParsingConfiguration( String charset, String[] includePaths, String[] packagePaths,
ClassLoader classLoader,
Map< String, Scanner.Token > constantsMap, boolean includeDocumentation, boolean useGlobalCache ) {
this.charset = charset;
this.includePaths = includePaths;
this.packagePaths = packagePaths;
this.classLoader = classLoader;
this.constantsMap = constantsMap;
this.includeDocumentation = includeDocumentation;
this.useGlobalCache = useGlobalCache;
}
public String[] includePaths() {
return includePaths;
}
public String[] packagePaths() {
return packagePaths;
}
public String charset() {
return charset;
}
public ClassLoader classLoader() {
return classLoader;
}
public boolean includeDocumentation() {
return includeDocumentation;
}
public boolean useGlobalCache() {
return useGlobalCache;
}
public Map< String, Scanner.Token > constantsMap() {
return constantsMap;
}
}