public enum ActionState extends java.lang.Enum<ActionState>
Enum Constant and Description |
---|
Inventory |
Kill |
Lock |
PermaLock |
ReadMemory |
StartBuzzer |
StartDecode |
StartVibrator |
Stop |
Unlock |
WaitForResponse |
WriteMemory |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static ActionState |
valueOf(int code) |
static ActionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionState Stop
public static final ActionState Inventory
public static final ActionState ReadMemory
public static final ActionState WriteMemory
public static final ActionState Lock
public static final ActionState Unlock
public static final ActionState PermaLock
public static final ActionState Kill
public static final ActionState StartDecode
public static final ActionState StartBuzzer
public static final ActionState StartVibrator
public static final ActionState WaitForResponse
public static ActionState[] values()
for (ActionState c : ActionState.values()) System.out.println(c);
public static ActionState 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 getCode()
public java.lang.String toString()
toString
in class java.lang.Enum<ActionState>
public static ActionState valueOf(int code)