Package org.yamcs.alarms
Enum AlarmState
- All Implemented Interfaces:
Serializable
,Comparable<AlarmState>
Inspired from ANSI/ISA–18.2 Management Of Alarm Systems For The Process Industries
process is the entity that triggers the alarm, in our case parameters or events.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AlarmState
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.
-
Enum Constant Details
-
NORMAL
-
UNACK_ALARM
-
ACK_ALARM
-
RTN_UNACK
-
LATCH_UNACK
-
LATCH_ACK
-
SHELVED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-