public static enum JavaScriptConfig.JavaScriptConfigValue extends Enum<JavaScriptConfig.JavaScriptConfigValue> implements org.eclipse.ditto.services.utils.config.KnownConfigValue
JavaScriptConfig.| Enum Constant and Description |
|---|
MAX_SCRIPT_EXECUTION_TIME
The maximum execution time of a mapping script to run.
|
MAX_SCRIPT_SIZE_BYTES
The maximum script size in bytes of a mapping script to run.
|
MAX_SCRIPT_STACK_DEPTH
The maximum call stack depth in the mapping script.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigPath() |
Object |
getDefaultValue() |
static JavaScriptConfig.JavaScriptConfigValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaScriptConfig.JavaScriptConfigValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaScriptConfig.JavaScriptConfigValue MAX_SCRIPT_SIZE_BYTES
public static final JavaScriptConfig.JavaScriptConfigValue MAX_SCRIPT_EXECUTION_TIME
public static final JavaScriptConfig.JavaScriptConfigValue MAX_SCRIPT_STACK_DEPTH
public static JavaScriptConfig.JavaScriptConfigValue[] values()
for (JavaScriptConfig.JavaScriptConfigValue c : JavaScriptConfig.JavaScriptConfigValue.values()) System.out.println(c);
public static JavaScriptConfig.JavaScriptConfigValue 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 Object getDefaultValue()
getDefaultValue in interface org.eclipse.ditto.services.utils.config.KnownConfigValuepublic String getConfigPath()
getConfigPath in interface org.eclipse.ditto.services.utils.config.WithConfigPathCopyright © 2017–2019 Eclipse Foundation. All rights reserved.