public static enum Script.Type extends java.lang.Enum<Script.Type>
| Enum Constant and Description |
|---|
EXTENSION
A script supplied by an extension
|
NATIVE
A native, internal JavaScript VM script
|
NORMAL
A normal user script
|
| Modifier and Type | Method and Description |
|---|---|
static Script.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Script.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Script.Type NATIVE
public static final Script.Type EXTENSION
public static final Script.Type NORMAL
public static Script.Type[] values()
for (Script.Type c : Script.Type.values()) System.out.println(c);
public static Script.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.