public enum State extends java.lang.Enum<State>
SystemComponent
or the overall
system is in.Enum Constant and Description |
---|
CONFIG
Element has just been configured.
|
ERROR
An error occurred in the specific element.
|
INIT
Element has just been initialized.
|
MEASURING
Element is measuring and handling data that is relevant for the study.
|
START
Element has just been created.
|
STOPPED
Element is stopped.
|
TRAINING
Element is currently training itself to meet situational conditions.
|
UNKNOWN
General state is unknown.
|
Modifier and Type | Method and Description |
---|---|
static State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final State UNKNOWN
public static final State ERROR
public static final State START
SystemComponent
will find itself in.public static final State INIT
public static final State CONFIG
public static final State TRAINING
public static final State MEASURING
public static final State STOPPED
public static State[] values()
for (State c : State.values()) System.out.println(c);
public static State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null