public static enum ScriptRunnerFactory.RunnerType extends Enum<ScriptRunnerFactory.RunnerType>
| Enum Constant and Description |
|---|
AUTO
Automatically detect the JavaScript engine
|
JRE
Create a runner that explicitly uses the Java Scripting API
|
V8
Create a runner that explicitly uses the V8 runtime
|
| Modifier and Type | Method and Description |
|---|---|
static ScriptRunnerFactory.RunnerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScriptRunnerFactory.RunnerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptRunnerFactory.RunnerType AUTO
public static final ScriptRunnerFactory.RunnerType JRE
public static final ScriptRunnerFactory.RunnerType V8
public static ScriptRunnerFactory.RunnerType[] values()
for (ScriptRunnerFactory.RunnerType c : ScriptRunnerFactory.RunnerType.values()) System.out.println(c);
public static ScriptRunnerFactory.RunnerType 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 null