public static enum ScriptContextObject.Type extends java.lang.Enum<ScriptContextObject.Type>
| Enum Constant and Description |
|---|
DATAPOINT_COMMANDS |
DATASOURCE_COMMANDS |
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
help |
private int |
id |
private java.lang.String |
key |
| Modifier and Type | Method and Description |
|---|---|
abstract ScriptContextObject |
createScriptContextObject() |
java.lang.String |
getHelp() |
int |
getId() |
java.lang.String |
getKey() |
static java.util.List<java.lang.String> |
getTypeList() |
static ScriptContextObject.Type |
valueOf(int id) |
static ScriptContextObject.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScriptContextObject.Type |
valueOfIgnoreCase(java.lang.String text) |
static ScriptContextObject.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptContextObject.Type DATASOURCE_COMMANDS
public static final ScriptContextObject.Type DATAPOINT_COMMANDS
private final int id
private final java.lang.String key
private final java.lang.String help
public static ScriptContextObject.Type[] values()
for (ScriptContextObject.Type c : ScriptContextObject.Type.values()) System.out.println(c);
public static ScriptContextObject.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 nullpublic int getId()
public java.lang.String getKey()
public java.lang.String getHelp()
public abstract ScriptContextObject createScriptContextObject()
public static ScriptContextObject.Type valueOf(int id)
public static ScriptContextObject.Type valueOfIgnoreCase(java.lang.String text)
public static java.util.List<java.lang.String> getTypeList()