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