Copyright© 2008-2022 Sitevision AB, all rights reserved.
public static enum Requireable.ScriptEngine extends Enum<Requireable.ScriptEngine>
Enum Constant and Description |
---|
NASHORN
The Nashorn script engine.
|
RHINO
The legacy Rhino script engine.
|
Modifier and Type | Method and Description |
---|---|
static Requireable.ScriptEngine |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Requireable.ScriptEngine[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Requireable.ScriptEngine NASHORN
public static final Requireable.ScriptEngine RHINO
public static Requireable.ScriptEngine[] values()
for (Requireable.ScriptEngine c : Requireable.ScriptEngine.values()) System.out.println(c);
public static Requireable.ScriptEngine 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 nullSitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.