
public enum PhaseState extends Enum<PhaseState> implements AgentState
| Enum Constant and Description |
|---|
CLOSING
Anytime a shutdown command is received by the Agent, it will go into CLOSING
state and proceed to shutdown any attached hardware component (if present).
|
INITIALIZING
When an Agent starts up it goes immediately in INITIALIZING state.
|
OFF_LINE
The OFF_LINE state is reached upon successful shutdown.
|
OPERATIONAL
An Agent that has been successfully initialized will run in Phase OPERATIONAL.
|
| Modifier and Type | Method and Description |
|---|---|
static PhaseState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhaseState[] |
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 PhaseState INITIALIZING
public static final PhaseState OPERATIONAL
public static final PhaseState CLOSING
public static final PhaseState OFF_LINE
public static PhaseState[] values()
for (PhaseState c : PhaseState.values()) System.out.println(c);
public static PhaseState 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 © 2016 LSST. All rights reserved.