public static enum Command.State extends java.lang.Enum<Command.State>
| Enum Constant and Description |
|---|
AUTH_FAILED
Status indicating Authorization failed.
|
COMMAND_NOT_SUPPORTED
Status indicating command not supported.
|
CONNECTIVITY_ERROR
Status indicating connectivity error.
|
DEVICE_BUSY
Status indicating the other end is busy.
|
DEVICE_UNREACHABLE
Status indicating device is not reachable.
|
DISCOVERY_NOT_APPLICABLE
Status indicating discovery is not applicable for the chosen protocol.
|
FAILURE
Status indicating failure.
|
IN_PROGRESS
Command in progress.
|
INVALID
Status indicating that command is invalid.
|
MAX_COUNT_REACHED
Status indicating max count of the thing accessed by the command in context has reached.
|
NETWORK_BLOCKED
Status indicating the user is blocked from network.
|
NETWORK_DISCONNECTED
Status indicating command failure due to network disconnection.
|
PARTIAL_SUCCESS
Status indicating partial success.
|
PARTIAL_SUCCESS_INSECURE
Status indicating partial success.
|
REJECTED
Status indicating the other end rejected this command.
|
RESOURCE_NOT_SUPPORTED
Status indicating the resource in question doesn't support the command sent.
|
SUCCESS
Status indicating success, the desired state.
|
SUCCESS_INSECURE
Status indicating success.
|
TIMEOUT
Status indicating timeout.
|
TOKEN_NOT_SET
Status indicating AccessToken isn't set.
|
TOKEN_REFRESH_FAILED
Status indicating refresh using RefreshToken failed.
|
| 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