public enum EngineConfigurationKey extends Enum<EngineConfigurationKey> implements ConfigurationKey
| Enum Constant and Description |
|---|
CACHE_SECTION_LITERAL_BLOCK
true in case of the section-based literal blocks should be
cached (useful to optimize some lambdas processing scenarios, but memory
intensive), false otherwise |
DEBUG_MODE_ENABLED
true in case of debug mode should be enabled,
false otherwise |
END_DELIMITER
The defeault end delimiter (e.g.
|
NO_VALUE_INDICATES_PROBLEM
true if lookup miss should result in exception,
false otherwise |
PRECOMPILE_ALL_TEMPLATES
true if precompilation of all available templates is
required, false otherwise |
REMOVE_STANDALONE_LINES
true if standalone lines should be removed (see also
Mustache spec), false otherwise |
REMOVE_UNNECESSARY_SEGMENTS
true if unnecessary segments should be removed (e.g. |
START_DELIMITER
The defeault start delimiter (e.g.
|
TEMPLATE_RECURSIVE_INVOCATION_LIMIT
The limit of recursive template invocation; 0 - recursive invocation is forbidden
|
| Modifier and Type | Method and Description |
|---|---|
String |
get() |
Object |
getDefaultValue() |
static EngineConfigurationKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EngineConfigurationKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EngineConfigurationKey START_DELIMITER
}})public static final EngineConfigurationKey END_DELIMITER
}})public static final EngineConfigurationKey PRECOMPILE_ALL_TEMPLATES
true if precompilation of all available templates is
required, false otherwisepublic static final EngineConfigurationKey REMOVE_STANDALONE_LINES
true if standalone lines should be removed (see also
Mustache spec), false otherwisepublic static final EngineConfigurationKey REMOVE_UNNECESSARY_SEGMENTS
true if unnecessary segments should be removed (e.g.
comments), false otherwisepublic static final EngineConfigurationKey NO_VALUE_INDICATES_PROBLEM
true if lookup miss should result in exception,
false otherwisepublic static final EngineConfigurationKey DEBUG_MODE_ENABLED
true in case of debug mode should be enabled,
false otherwisepublic static final EngineConfigurationKey CACHE_SECTION_LITERAL_BLOCK
true in case of the section-based literal blocks should be
cached (useful to optimize some lambdas processing scenarios, but memory
intensive), false otherwisepublic static final EngineConfigurationKey TEMPLATE_RECURSIVE_INVOCATION_LIMIT
public static EngineConfigurationKey[] values()
for (EngineConfigurationKey c : EngineConfigurationKey.values()) System.out.println(c);
public static EngineConfigurationKey valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String get()
get in interface ConfigurationKeypublic Object getDefaultValue()
getDefaultValue in interface ConfigurationKeyCopyright © 2013. All Rights Reserved.