org.plovr
Enum ConfigOption
java.lang.Object
java.lang.Enum<ConfigOption>
org.plovr.ConfigOption
- All Implemented Interfaces:
- Serializable, Comparable<ConfigOption>
public enum ConfigOption
- extends Enum<ConfigOption>
ID
public static final ConfigOption ID
INPUTS
public static final ConfigOption INPUTS
PATHS
public static final ConfigOption PATHS
EXTERNS
public static final ConfigOption EXTERNS
CUSTOM_EXTERNS_ONLY
public static final ConfigOption CUSTOM_EXTERNS_ONLY
CLOSURE_LIBRARY
public static final ConfigOption CLOSURE_LIBRARY
EXCLUDE_CLOSURE_LIBRARY
public static final ConfigOption EXCLUDE_CLOSURE_LIBRARY
COMPILATION_MODE
public static final ConfigOption COMPILATION_MODE
WARNING_LEVEL
public static final ConfigOption WARNING_LEVEL
INHERITS
public static final ConfigOption INHERITS
DEBUG
public static final ConfigOption DEBUG
PRETTY_PRINT
public static final ConfigOption PRETTY_PRINT
PRINT_INPUT_DELIMITER
public static final ConfigOption PRINT_INPUT_DELIMITER
OUTPUT_FILE
public static final ConfigOption OUTPUT_FILE
OUTPUT_WRAPPER
public static final ConfigOption OUTPUT_WRAPPER
OUTPUT_CHARSET
public static final ConfigOption OUTPUT_CHARSET
FINGERPRINT
public static final ConfigOption FINGERPRINT
MODULES
public static final ConfigOption MODULES
MODULE_OUTPUT_PATH
public static final ConfigOption MODULE_OUTPUT_PATH
MODULE_PRODUCTION_URI
public static final ConfigOption MODULE_PRODUCTION_URI
MODULE_INFO_PATH
public static final ConfigOption MODULE_INFO_PATH
- This option is used to write the plovr module info JS into a separate file
instead of prepending it to the root module. Prepending the JS causes the
source map to be several lines off in the root module, so doing this avoids
that issue.
GLOBAL_SCOPE_NAME
public static final ConfigOption GLOBAL_SCOPE_NAME
DEFINE
public static final ConfigOption DEFINE
DIAGNOSTIC_GROUPS
public static final ConfigOption DIAGNOSTIC_GROUPS
TREAT_WARNINGS_AS_ERRORS
public static final ConfigOption TREAT_WARNINGS_AS_ERRORS
EXPORT_TEST_FUNCTIONS
public static final ConfigOption EXPORT_TEST_FUNCTIONS
NAME_SUFFIXES_TO_STRIP
public static final ConfigOption NAME_SUFFIXES_TO_STRIP
TYPE_PREFIXES_TO_STRIP
public static final ConfigOption TYPE_PREFIXES_TO_STRIP
ID_GENERATORS
public static final ConfigOption ID_GENERATORS
AMBIGUATE_PROPERTIES
public static final ConfigOption AMBIGUATE_PROPERTIES
DISAMBIGUATE_PROPERTIES
public static final ConfigOption DISAMBIGUATE_PROPERTIES
EXPERIMENTAL_COMPILER_OPTIONS
public static final ConfigOption EXPERIMENTAL_COMPILER_OPTIONS
CUSTOM_PASSES
public static final ConfigOption CUSTOM_PASSES
SOY_FUNCTION_PLUGINS
public static final ConfigOption SOY_FUNCTION_PLUGINS
JSDOC_HTML_OUTPUT_PATH
public static final ConfigOption JSDOC_HTML_OUTPUT_PATH
VARIABLE_MAP_INPUT_FILE
public static final ConfigOption VARIABLE_MAP_INPUT_FILE
VARIABLE_MAP_OUTPUT_FILE
public static final ConfigOption VARIABLE_MAP_OUTPUT_FILE
PROPERTY_MAP_INPUT_FILE
public static final ConfigOption PROPERTY_MAP_INPUT_FILE
PROPERTY_MAP_OUTPUT_FILE
public static final ConfigOption PROPERTY_MAP_OUTPUT_FILE
TEST_TEMPLATE
public static final ConfigOption TEST_TEMPLATE
TEST_EXCLUDES
public static final ConfigOption TEST_EXCLUDES
values
public static ConfigOption[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ConfigOption c : ConfigOption.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ConfigOption valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getName
public String getName()
update
public void update(Config.Builder builder,
JsonElement json)
update
public boolean update(Config.Builder builder,
QueryData data)
- Returns:
- true to indicate that the parameter was processed
reset
public boolean reset(Config.Builder builder)
- Reset the values associated with this option in the specified builder.
This is important for config inheritance to ensure that a sub-config
completely overrides an option from its parent config.
- Parameters:
builder
-