public class Options
extends java.util.HashMap<java.lang.String,java.lang.Object>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_ADDITIONAL_CLASS_LOADER
The key for the additional class loader.
|
static java.lang.String |
KEY_CLASS_LOADER
The key for the class loader.
|
static java.lang.String |
KEY_CLASS_LOADER_WRITER
The key for the class loader writer.
|
static java.lang.String |
KEY_FORCE_COMPILATION
The key to force the compilation - even if the class files are more recent.
|
static java.lang.String |
KEY_GENERATE_DEBUG_INFO
The key for the generate debug info flag.
|
static java.lang.String |
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.
|
static java.lang.String |
KEY_SOURCE_VERSION
The key for the source version.
|
static java.lang.String |
KEY_TARGET_VERSION
The key for the target version.
|
static java.lang.String |
VERSION_1_1 |
static java.lang.String |
VERSION_1_2 |
static java.lang.String |
VERSION_1_3 |
static java.lang.String |
VERSION_1_4 |
static java.lang.String |
VERSION_1_5 |
static java.lang.String |
VERSION_1_6 |
static java.lang.String |
VERSION_1_7 |
static java.lang.String |
VERSION_1_8 |
static java.lang.String |
VERSION_RUNTIME |
Constructor and Description |
---|
Options()
Default options with the following presets:
- generate debug info : true
|
Options(Options options)
Create a new options object based on an existing one.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSourceVersion()
Get the source version.
|
java.lang.String |
getTargetVersion()
Get the target version.
|
boolean |
isGenerateDebugInfo()
Should debug info be generated?
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public static final java.lang.String KEY_SOURCE_VERSION
public static final java.lang.String KEY_TARGET_VERSION
public static final java.lang.String KEY_GENERATE_DEBUG_INFO
public static final java.lang.String VERSION_RUNTIME
public static final java.lang.String VERSION_1_1
public static final java.lang.String VERSION_1_2
public static final java.lang.String VERSION_1_3
public static final java.lang.String VERSION_1_4
public static final java.lang.String VERSION_1_5
public static final java.lang.String VERSION_1_6
public static final java.lang.String VERSION_1_7
public static final java.lang.String VERSION_1_8
public static final java.lang.String KEY_CLASS_LOADER_WRITER
public static final java.lang.String KEY_CLASS_LOADER
KEY_ADDITIONAL_CLASS_LOADER
completly!public static final java.lang.String KEY_ADDITIONAL_CLASS_LOADER
KEY_CLASS_LOADER
property is not defined, a classloader with the dynamic
class loader (default) and the class loader specified here
is used.public static final java.lang.String KEY_FORCE_COMPILATION
public static final java.lang.String KEY_IGNORE_WARNINGS
public Options()
public Options(Options options)
options
- The base options.public java.lang.String getSourceVersion()
public java.lang.String getTargetVersion()
public boolean isGenerateDebugInfo()
true
if debug info should be generated.Copyright © 2022 The Apache Software Foundation. All rights reserved.