public static enum Command.State extends java.lang.Enum<Command.State>
Modifier and Type | Method and Description |
---|---|
static Command.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Command.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.State SUCCESS
public static final Command.State INVALID
public static final Command.State FAILURE
public static final Command.State PARTIAL_SUCCESS
public static final Command.State TIMEOUT
public static final Command.State REJECTED
public static final Command.State DEVICE_BUSY
public static final Command.State IN_PROGRESS
public static final Command.State AUTH_FAILED
public static final Command.State RESOURCE_NOT_SUPPORTED
public static final Command.State SUCCESS_INSECURE
public static final Command.State PARTIAL_SUCCESS_INSECURE
public static final Command.State CONNECTIVITY_ERROR
public static final Command.State COMMAND_NOT_SUPPORTED
public static final Command.State TOKEN_NOT_SET
public static final Command.State TOKEN_REFRESH_FAILED
public static final Command.State DISCOVERY_NOT_APPLICABLE
public static final Command.State NETWORK_DISCONNECTED
public static final Command.State MAX_COUNT_REACHED
public static final Command.State DEVICE_UNREACHABLE
public static final Command.State NETWORK_BLOCKED
public static Command.State[] values()
for (Command.State c : Command.State.values()) System.out.println(c);
public static Command.State 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 null