Enum Class AlarmStateTransition
java.lang.Object
java.lang.Enum<AlarmStateTransition>
com.inductiveautomation.ignition.common.alarming.AlarmStateTransition
- All Implemented Interfaces:
Serializable
,Comparable<AlarmStateTransition>
,Constable
This enum represents a single alarm state, generally the state that a particular event represents the transition to.
Put differently, an alarm can be in multiple states at once, such as Active|Ack. This enum represents a single
element of that.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis transition is used to indicate that an alarm event is no longer "live" due to alarm being force disabled.This transition is used to indicate that the alarm event has become "live" due to alarm being force enabled.This transition is used to indicate that an alarm event is no longer needed and should drop out of the system.This transition is used to indicate when an alarm is first shelved. -
Method Summary
Modifier and TypeMethodDescriptionstatic AlarmStateTransition
fromIntValue
(int value) int
static AlarmStateTransition
Returns the enum constant of this class with the specified name.static AlarmStateTransition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Active
-
Clear
-
Ack
-
Finished
This transition is used to indicate that an alarm event is no longer needed and should drop out of the system. -
Enabled
This transition is used to indicate that the alarm event has become "live" due to alarm being force enabled. This will immediately be followed by an active or a clear transition. -
Disabled
This transition is used to indicate that an alarm event is no longer "live" due to alarm being force disabled. This will immediately be followed by a finished transition. -
Shelved
This transition is used to indicate when an alarm is first shelved.
-
-
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
-
getIntValue
public int getIntValue() -
fromIntValue
-