public enum CommandCode extends Enum<CommandCode>
| Enum Constant and Description |
|---|
CANCEL |
EXEC_FAIL |
NACK |
SEND_FAIL |
SUCCESS |
TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static CommandCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandCode SUCCESS
public static final CommandCode SEND_FAIL
public static final CommandCode NACK
public static final CommandCode TIMEOUT
public static final CommandCode CANCEL
public static final CommandCode EXEC_FAIL
public static CommandCode[] values()
for (CommandCode c : CommandCode.values()) System.out.println(c);
public static CommandCode 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 © 2023 LSST. All rights reserved.