Enum AlarmStateTransition
- java.lang.Object
- 
- java.lang.Enum<AlarmStateTransition>
- 
- com.inductiveautomation.ignition.common.alarming.AlarmStateTransition
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<AlarmStateTransition>
 
 public enum AlarmStateTransition extends java.lang.Enum<AlarmStateTransition> 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.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description AckActiveClearDisabledThis transition is used to indicate that an alarm event is no longer "live" due to alarm being force disabled.EnabledThis transition is used to indicate that the alarm event has become "live" due to alarm being force enabled.FinishedThis transition is used to indicate that an alarm event is no longer needed and should drop out of the system.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlarmStateTransitionfromIntValue(int value)intgetIntValue()static AlarmStateTransitionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AlarmStateTransition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
Activepublic static final AlarmStateTransition Active 
 - 
Clearpublic static final AlarmStateTransition Clear 
 - 
Ackpublic static final AlarmStateTransition Ack 
 - 
Finishedpublic static final AlarmStateTransition Finished This transition is used to indicate that an alarm event is no longer needed and should drop out of the system.
 - 
Enabledpublic static final AlarmStateTransition 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.
 - 
Disabledpublic static final AlarmStateTransition 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.
 
- 
 - 
Method Detail- 
valuespublic static AlarmStateTransition[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlarmStateTransition c : AlarmStateTransition.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static AlarmStateTransition valueOf(java.lang.String name) 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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
getIntValuepublic int getIntValue() 
 - 
fromIntValuepublic static AlarmStateTransition fromIntValue(int value) 
 
- 
 
-