public enum CommandState extends Enum<CommandState>
| Enum Constant and Description |
|---|
ACTIVE
When an Agent is busy executing an Action type command it will be in
ACTIVE state.
|
ALMOST_ACTIVE
Upon receipt of an Action type command, the Agent will internally migrate
to the ALMOST_ACTIVE state while it decides if the command is accepted or rejected.
|
READY
The READY state is the initial state of an Agent and signifies that
the Agent is ready to receive any commands (including actions).
|
| 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 READY
public static final CommandState ALMOST_ACTIVE
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.