public enum SupportedScriptingLanguage extends Enum<SupportedScriptingLanguage> implements ScriptingLanguage
| Enum Constant and Description |
|---|
GROOVY
Groovy script support based on the main Groovy distribution.
|
JAVASCRIPT
Javascript/ECMAScript support based on the Rhino engine.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
GROOVY_ENGINE_NAME
JSR 223 engine name for Groovy support.
|
static String |
JAVASCRIPT_ENGINE_NAME
JSR 223 engine name to use for Javascript support.
|
| Modifier and Type | Method and Description |
|---|---|
static SupportedScriptingLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedScriptingLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetScriptEngine, getScriptValidatorpublic static final SupportedScriptingLanguage JAVASCRIPT
public static final SupportedScriptingLanguage GROOVY
public static final String JAVASCRIPT_ENGINE_NAME
public static final String GROOVY_ENGINE_NAME
public static SupportedScriptingLanguage[] values()
for (SupportedScriptingLanguage c : SupportedScriptingLanguage.values()) System.out.println(c);
public static SupportedScriptingLanguage 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 nullCopyright © 2010–2024 Open Identity Platform Community. All rights reserved.