Package org.eso.ias.types
Enum Class AlarmState
- All Implemented Interfaces:
Serializable
,Comparable<AlarmState>
,Constable
The state and state machine of an Alarm
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAlarm clear and acknowledgedAlarm clear and unacknowledgedAlarm set and acknowledgedAlarm set and unacknowledged -
Method Summary
Modifier and TypeMethodDescriptionack()
The alarm has been Acked (by operator)clear()
The alarm is clear (by the TF)final boolean
isAcked()
final boolean
final boolean
isSet()
set()
The alarm is set (by the TF)static AlarmState
Returns the enum constant of this class with the specified name.static AlarmState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLEAR_ACK
Alarm clear and acknowledged -
CLEAR_UNACK
Alarm clear and unacknowledged -
SET_UNACK
Alarm set and unacknowledged -
SET_ACK
Alarm set and acknowledged
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
isSet
public final boolean isSet()- Returns:
true
if the alarm is set;false
otherwise
-
isCleared
public final boolean isCleared()- Returns:
true
if the alarm is cleared;false
otherwise
-
isAcked
public final boolean isAcked()- Returns:
- true if the alarm has been acknowledged false otherwise
-
ack
The alarm has been Acked (by operator) -
set
The alarm is set (by the TF) -
clear
The alarm is clear (by the TF)
-