public enum AlarmState extends Enum<AlarmState>
| Enum Constant and Description |
|---|
ALARM
The Alarm state goes into ALARM when there is at least one active alarm.
|
NOMINAL
An Agent is in the NOMINAL state when all is well with the connected hardware.
|
WARNING
The Alarm state is WARNING when there is at least one active warning,
but no alarm level ones.
|
| Modifier and Type | Method and Description |
|---|---|
static AlarmState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlarmState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlarmState NOMINAL
public static final AlarmState WARNING
public static final AlarmState ALARM
public static AlarmState[] values()
for (AlarmState c : AlarmState.values()) System.out.println(c);
public static AlarmState 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.