public static enum EmergencyControl.COMMAND extends java.lang.Enum<EmergencyControl.COMMAND>
Enum Constant and Description |
---|
DISABLE |
ENABLE |
QUERY |
SET_PLAN |
START |
STOP |
Modifier and Type | Method and Description |
---|---|
long |
value() |
static EmergencyControl.COMMAND |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmergencyControl.COMMAND[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmergencyControl.COMMAND ENABLE
public static final EmergencyControl.COMMAND DISABLE
public static final EmergencyControl.COMMAND START
public static final EmergencyControl.COMMAND STOP
public static final EmergencyControl.COMMAND QUERY
public static final EmergencyControl.COMMAND SET_PLAN
public static EmergencyControl.COMMAND[] values()
for (EmergencyControl.COMMAND c : EmergencyControl.COMMAND.values()) System.out.println(c);
public static EmergencyControl.COMMAND 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 long value()