public enum EcmascriptMessage extends Enum<EcmascriptMessage> implements Message
| Enum Constant and Description |
|---|
DEFAULT |
EVAL |
EXAMINE_OBJECTS |
LIST_RUNTIMES |
ON_READY_STATE_CHANGED |
RELEASE_OBJECTS |
SET_FORM_ELEMENT_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static EcmascriptMessage |
get(int code) |
int |
getID()
Get command id to execute on host, service definitions are available on Scope Interface
|
String |
getServiceName()
Associates a command id with a service name
|
static EcmascriptMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EcmascriptMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EcmascriptMessage LIST_RUNTIMES
public static final EcmascriptMessage EVAL
public static final EcmascriptMessage EXAMINE_OBJECTS
public static final EcmascriptMessage RELEASE_OBJECTS
public static final EcmascriptMessage ON_READY_STATE_CHANGED
public static final EcmascriptMessage SET_FORM_ELEMENT_VALUE
public static final EcmascriptMessage DEFAULT
public static EcmascriptMessage[] values()
for (EcmascriptMessage c : EcmascriptMessage.values()) System.out.println(c);
public static EcmascriptMessage 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 nullpublic int getID()
Messagepublic static EcmascriptMessage get(int code)
public String getServiceName()
MessagegetServiceName in interface MessageCopyright © 2012. All Rights Reserved.