Class Options
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
Object>
Options for the compilation process.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The key for the additional class loader.static final String
The key for the class loader.static final String
The key for the class loader writer.static final String
The key to force the compilation - even if the class files are more recent.static final String
The key for the generate debug info flag.static final String
The key to ignore warnings - if this option is turned on, the resulting compilation result does not get the warnings issued by the compiler.static final String
The key for the source version.static final String
The key for the target version.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the source version.Get the target version.boolean
Should debug info be generated?Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
KEY_SOURCE_VERSION
The key for the source version.- See Also:
-
KEY_TARGET_VERSION
The key for the target version.- See Also:
-
KEY_GENERATE_DEBUG_INFO
The key for the generate debug info flag.- See Also:
-
VERSION_RUNTIME
-
VERSION_1_1
- See Also:
-
VERSION_1_2
- See Also:
-
VERSION_1_3
- See Also:
-
VERSION_1_4
- See Also:
-
VERSION_1_5
- See Also:
-
VERSION_1_6
- See Also:
-
VERSION_1_7
- See Also:
-
VERSION_1_8
- See Also:
-
KEY_CLASS_LOADER_WRITER
The key for the class loader writer. By default the registered class loader writer service is used.- See Also:
-
KEY_CLASS_LOADER
The key for the class loader. By default the commons dynamic classloader is used. This property overrides the classloader and ignores theKEY_ADDITIONAL_CLASS_LOADER
completly!- See Also:
-
KEY_ADDITIONAL_CLASS_LOADER
The key for the additional class loader. By default the commons dynamic classloader is used. If this property is used and theKEY_CLASS_LOADER
property is not defined, a classloader with the dynamic class loader (default) and the class loader specified here is used.- See Also:
-
KEY_FORCE_COMPILATION
The key to force the compilation - even if the class files are more recent. The value should be of type Boolean.- See Also:
-
KEY_IGNORE_WARNINGS
The key to ignore warnings - if this option is turned on, the resulting compilation result does not get the warnings issued by the compiler. The value should be of type Boolean.- See Also:
-
-
Constructor Details
-
Options
public Options()Default options with the following presets: - generate debug info : true -
Options
Create a new options object based on an existing one.- Parameters:
options
- The base options.
-
-
Method Details
-
getSourceVersion
Get the source version.- Returns:
- The source version.
-
getTargetVersion
Get the target version.- Returns:
- The target version
- Since:
- 2.0
-
isGenerateDebugInfo
public boolean isGenerateDebugInfo()Should debug info be generated?- Returns:
true
if debug info should be generated.
-