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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum 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 SummaryModifier and TypeMethodDescriptionstatic AlarmStateTransitionfromIntValue(int value) intstatic AlarmStateTransitionReturns 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
- 
FinishedThis transition is used to indicate that an alarm event is no longer needed and should drop out of the system.
- 
EnabledThis 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.
- 
DisabledThis 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.
- 
ShelvedThis transition is used to indicate when an alarm is first shelved.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getIntValuepublic int getIntValue()
- 
fromIntValue
 
-