public static enum PHATCommand.State extends Enum<PHATCommand.State>
| Enum Constant and Description |
|---|
Fail |
Interrupted |
Running |
Success |
Waiting |
| Modifier and Type | Method and Description |
|---|---|
static PHATCommand.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PHATCommand.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PHATCommand.State Waiting
public static final PHATCommand.State Running
public static final PHATCommand.State Interrupted
public static final PHATCommand.State Success
public static final PHATCommand.State Fail
public static PHATCommand.State[] values()
for (PHATCommand.State c : PHATCommand.State.values()) System.out.println(c);
public static PHATCommand.State 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 nullCopyright © 2016. All Rights Reserved.