public enum CommandStatus extends java.lang.Enum<CommandStatus>
Enum Constant and Description |
---|
FAIL
Fail: command received and processed unsuccessfully
|
NOT_SUPPORTED
Not supported
|
PASS
Pass: command received and processed successfully
|
PENDING
Pending: command received and not yet processed
|
REJECTED
Rejected: command received but rejected, e.g., due to invalid format/unregistered remote
|
UNINITIALIZED
Uninitialized: never received a command
|
UNRECOGNIZED
The value sent by the plugin service was unrecognized indicating an upgrade of the PCC may be required to handle the value.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static CommandStatus |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static CommandStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandStatus PASS
public static final CommandStatus FAIL
public static final CommandStatus NOT_SUPPORTED
public static final CommandStatus REJECTED
public static final CommandStatus PENDING
public static final CommandStatus UNINITIALIZED
public static final CommandStatus UNRECOGNIZED
public static CommandStatus[] values()
for (CommandStatus c : CommandStatus.values()) System.out.println(c);
public static CommandStatus 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 getIntValue()
public static CommandStatus getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.