Enum AlarmState
- java.lang.Object
- 
- java.lang.Enum<AlarmState>
- 
- com.inductiveautomation.ignition.common.alarming.AlarmState
 
 
- 
- All Implemented Interfaces:
- Localized,- java.io.Serializable,- java.lang.Comparable<AlarmState>
 
 public enum AlarmState extends java.lang.Enum<AlarmState> implements Localized 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ActiveAckedActiveUnackedClearAckedClearUnackedDisabledEnabled
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AlarmStateacknowledge()A convenience function to get the next state when the current one is acknowledged.static AlarmStateget(boolean clear, boolean ack)booleanisAcked()A convenience function for telling whether this is one of the acknowledged states or not.booleanisActive()Convenience function for telling whether this is one of the active states.booleanisEquivilent(java.lang.Object o)static java.util.List<AlarmState>standardStates()java.lang.StringtoString()java.lang.StringtoString(java.util.Locale locale)static AlarmStatevalueOf(java.lang.String name)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 Detail- 
ClearUnackedpublic static final AlarmState ClearUnacked 
 - 
ClearAckedpublic static final AlarmState ClearAcked 
 - 
ActiveUnackedpublic static final AlarmState ActiveUnacked 
 - 
ActiveAckedpublic static final AlarmState ActiveAcked 
 - 
Enabledpublic static final AlarmState Enabled 
 - 
Disabledpublic static final AlarmState Disabled 
 
- 
 - 
Method Detail- 
valuespublic static AlarmState[] 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 (AlarmState c : AlarmState.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static AlarmState 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
 
 - 
isAckedpublic boolean isAcked() A convenience function for telling whether this is one of the acknowledged states or not.
 - 
isActivepublic boolean isActive() Convenience function for telling whether this is one of the active states.
 - 
acknowledgepublic AlarmState acknowledge() A convenience function to get the next state when the current one is acknowledged.
 - 
isEquivilentpublic boolean isEquivilent(java.lang.Object o) 
 - 
getpublic static AlarmState get(boolean clear, boolean ack) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Enum<AlarmState>
 
 - 
toStringpublic java.lang.String toString(java.util.Locale locale) 
 - 
standardStatespublic static java.util.List<AlarmState> standardStates() 
 
- 
 
-