
public enum CommandState extends Enum<CommandState> implements AgentState
| Enum Constant and Description |
|---|
ACTIVE
The Agent is already executing ACTION or CONFIGURATION command, only QUERY and SIGNAL commands are accepted.
|
READY
The Agent is ready to receive and execute all types of commands.
|
| 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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfisLegal, isLegalpublic 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 © 2019 LSST. All rights reserved.