
public enum CommandState extends Enum<CommandState>
| Enum Constant and Description |
|---|
ACTIVE
running an ACTION , or Configuration command (and/or signals commands)
|
OFF
no command acceptable
|
READY
ready to accept any command
|
| Modifier and Type | Method and Description |
|---|---|
static CommandState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandState OFF
public static final CommandState READY
public static final CommandState ACTIVE
public static CommandState[] values()
for (CommandState c : CommandState.values()) System.out.println(c);
public static CommandState 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 © 2015 LSST. All rights reserved.