Class CommonAlarmProperties<T extends java.io.Serializable>
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.alarming.config.WellKnownAlarmProperties<T>
- 
- com.inductiveautomation.ignition.common.alarming.config.CommonAlarmProperties<T>
 
 
- 
- All Implemented Interfaces:
- AlarmProperty<T>,- DescriptiveProperty<T>,- Property<T>,- java.io.Serializable
 - Direct Known Subclasses:
- CommonAlarmProperties.CalculatedAlarmProperty
 
 public class CommonAlarmProperties<T extends java.io.Serializable> extends WellKnownAlarmProperties<T> These are many of the properties that are used throughout the alarming system, provided/known by Ignition. Some of them are for configuration, and others are only used during runtime/execution. They all extend fromAlarmProperty, so they can have a descriptive name, and a category, if appropriate. Both of those properties will be used in display, either on the configuration screen, or in code-assist situations like expression editors and other binding locations.All property IDs should follow the standard camel-case, lower first letter convention. These will be displayed and used in bindings. The values of this class are registered with the WellKnownAlarmPropertyDirectory.- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected static classCommonAlarmProperties.CalculatedAlarmProperty<R extends java.io.Serializable>
 - 
Field SummaryFields Modifier and Type Field Description static CommonAlarmProperties<java.lang.String>AckDurationElapsed time between ActiveTime and AckTime.static CommonAlarmProperties<java.lang.Integer>AckDurationMSElapsed time between ActiveTime and AckTime.static CommonAlarmProperties<AlertAckMode>AckModestatic CommonAlarmProperties<java.lang.String>AckNotesstatic CommonAlarmProperties<java.lang.Boolean>AckNotesReqdstatic CommonAlarmProperties<java.lang.String>AckPipelinestatic CommonAlarmProperties<java.util.Date>AckTimestatic CommonAlarmProperties<QualifiedPath>AckUserThe user who acknowledged the alarm, specified by an QualifiedPath that points to the user source and id.static CommonAlarmProperties<java.lang.String>AckUserNameThis calculated helper property provides a friendlier display version of the ack user property.static CommonAlarmProperties<java.lang.String>ActiveDurationElapsed time between ActiveTime and ClearTime.static CommonAlarmProperties<java.lang.Integer>ActiveDurationMSElapsed time between ActiveTime and ClearTime, in milliseconds.static CommonAlarmProperties<java.lang.String>ActivePipelinestatic CommonAlarmProperties<java.util.Date>ActiveTimestatic java.util.List<AlarmProperty<?>>BASIC_BINDABLE_PROPSThese are the basic properties that are displayed for most binding contexts.static CommonAlarmProperties<java.lang.Integer>BranchDepthEach time an alarm event is split in a pipeline, a new branch or instance is created.static CommonAlarmProperties<java.lang.String>ClearPipelinestatic CommonAlarmProperties<java.util.Date>ClearTimestatic java.util.List<AlarmProperty<?>>CONFIG_PROPSThese are the properties that are shown for configuration on all alarms.static CommonAlarmProperties<java.lang.Double>Deadbandstatic CommonAlarmProperties<DeadbandMode>DeadbandEvalModestatic CommonAlarmProperties<java.lang.String>DisplayPathstatic CommonAlarmProperties<java.lang.String>DisplayPathOrSourceThis path is going to be the string version of either the display path, if defined, or the source path.static CommonAlarmProperties<java.lang.Boolean>Enabledstatic CommonAlarmProperties<java.lang.Boolean>EventCanceledThis gets set to TRUE if the event should drop out of any pipeline that it is in - canceling any pending notification activities.static CommonAlarmProperties<java.util.UUID>EventIdstatic CommonAlarmProperties<AlarmStateTransition>EventStateThe most recent or most appropriate state transition of the event.static CommonAlarmProperties<java.util.Date>EventTimestatic CommonAlarmProperties<java.io.Serializable>EventValuestatic CommonAlarmProperties<java.lang.String>FilterThe string representation of an AlarmFilter.static CommonAlarmProperties<java.lang.String>FullItemPathMuch like ItemPath, but will include everything in the source path, such as the provider, project, etc.static java.util.List<AlarmProperty<?>>INFO_PROPERTIESThese are properties that aren't config, but are used to get useful information, or calculated/derived values.static CommonAlarmProperties<java.lang.Boolean>IsAckedstatic CommonAlarmProperties<java.lang.Boolean>IsActivestatic CommonAlarmProperties<java.lang.Boolean>IsClearstatic CommonAlarmProperties<java.lang.Boolean>IsDisabledEventstatic CommonAlarmProperties<java.lang.Boolean>IsEnabledEventstatic CommonAlarmProperties<java.lang.Boolean>IsInitialEventIndicates that this (active) event has been caused by the initial value of a tag, either during load, or due to the tag's enabled state.static CommonAlarmProperties<java.lang.Boolean>IsJournaledstatic CommonAlarmProperties<java.lang.Boolean>IsReleasedThis property is only used for internal communication of events that have been disconnected from their source alarms, usually due to the alarm going to disabled.static CommonAlarmProperties<java.lang.Boolean>IsShelvedstatic CommonAlarmProperties<java.lang.Boolean>IsSystemEventThis boolean indicates whether the event is a "system" event.static CommonAlarmProperties<java.lang.Boolean>IsTransitioningPipelinesstatic CommonAlarmProperties<java.lang.String>ItemNameThis helper property provides the name of the item holding the alarm, without its path *static CommonAlarmProperties<java.lang.String>ItemPathThis helper property should provide the path of the item holding the alarm.static CommonAlarmProperties<java.lang.String>Labelstatic CommonAlarmProperties<java.lang.Boolean>LegacySendClearstatic CommonAlarmProperties<java.lang.String>Namestatic CommonAlarmProperties<java.lang.String>Notesstatic AlarmModeProperties<java.lang.Boolean>NotifyInitialEventThis is a special api setting that indicates that we should ignore the concept of "initial" events and always notify, regardless of the gateway settings that may prevent initial notification.static java.util.List<AlarmProperty<?>>OTHER_PROPERTIESAny remaining properties, for translationstatic CommonAlarmProperties<java.lang.String>PipelineProjectThe name of the Project that the pipelines specified byActivePipeline,ClearPipeline, andAckPipelinereside in.static CommonAlarmProperties<java.lang.Integer>PipelineTransitionCountThis property is incremented each time the alarm transitions from block to block during execution.static CommonAlarmProperties<AlarmPriority>Prioritystatic java.util.List<AlarmProperty<?>>RUNTIME_PROPERTIESThese are properties that do not allow configuration, as they only exist during runtime or execution.static CommonAlarmProperties<java.util.Date>ShelfExpirationstatic CommonAlarmProperties<QualifiedPath>ShelfUserstatic CommonAlarmProperties<java.lang.Boolean>ShelvingAllowedstatic CommonAlarmProperties<QualifiedPath>Sourcestatic CommonAlarmProperties<AlarmState>StateAlarm state is the full current state of an alarm in one enum, such as ActiveAcked.static CommonAlarmProperties<java.lang.Boolean>SystemAckstatic CommonAlarmProperties<java.lang.Double>TimeOffDelaySecondsstatic CommonAlarmProperties<java.lang.Double>TimeOnDelaySecondsstatic CommonAlarmProperties<TimestampSource>TimestampSource
 - 
Constructor SummaryConstructors Constructor Description CommonAlarmProperties()Only for serialization.CommonAlarmProperties(java.lang.String simpleName, java.lang.Class<T> dtype, T defaultVal)CommonAlarmProperties(java.lang.String simpleName, java.lang.String category, java.lang.Class<T> dtype, java.lang.Object defaultVal, boolean bindable)Deprecated.CommonAlarmProperties(java.lang.String simpleName, java.lang.String category, java.lang.Class<T> dtype, T defaultVal)CommonAlarmProperties(java.lang.String simpleName, java.lang.String category, java.lang.Class<T> dtype, T defaultVal, boolean bindable)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.StringformatDuration(java.util.Date activeTime, java.util.Date otherTime, FormatUtil.DurationFormatStyle format)protected java.lang.StringgetBundleKeyBase()LocalizedStringgetCategory()The category under which this property will be placed when editing.java.lang.StringgetCategoryKey()LocalizedStringgetDescription()Optional description/documentation for the property.LocalizedStringgetDisplayName()A friendly display name for the property.static AlarmProperty<?>[]values()- 
Methods inherited from class com.inductiveautomation.ignition.common.alarming.config.WellKnownAlarmPropertiesequals, getDefaultValue, getName, getType, hashCode, isAdvanced, isBindable, name, toString, values
 
- 
 
- 
- 
- 
Field Detail- 
Namepublic static final CommonAlarmProperties<java.lang.String> Name 
 - 
Enabledpublic static final CommonAlarmProperties<java.lang.Boolean> Enabled 
 - 
Prioritypublic static final CommonAlarmProperties<AlarmPriority> Priority 
 - 
Labelpublic static final CommonAlarmProperties<java.lang.String> Label 
 - 
DisplayPathpublic static final CommonAlarmProperties<java.lang.String> DisplayPath 
 - 
PipelineProjectpublic static final CommonAlarmProperties<java.lang.String> PipelineProject The name of the Project that the pipelines specified byActivePipeline,ClearPipeline, andAckPipelinereside in.
 - 
ActivePipelinepublic static final CommonAlarmProperties<java.lang.String> ActivePipeline 
 - 
ClearPipelinepublic static final CommonAlarmProperties<java.lang.String> ClearPipeline 
 - 
AckPipelinepublic static final CommonAlarmProperties<java.lang.String> AckPipeline 
 - 
Deadbandpublic static final CommonAlarmProperties<java.lang.Double> Deadband 
 - 
DeadbandEvalModepublic static final CommonAlarmProperties<DeadbandMode> DeadbandEvalMode 
 - 
TimeOnDelaySecondspublic static final CommonAlarmProperties<java.lang.Double> TimeOnDelaySeconds 
 - 
TimeOffDelaySecondspublic static final CommonAlarmProperties<java.lang.Double> TimeOffDelaySeconds 
 - 
TimestampSourcepublic static final CommonAlarmProperties<TimestampSource> TimestampSource 
 - 
AckModepublic static final CommonAlarmProperties<AlertAckMode> AckMode 
 - 
Notespublic static final CommonAlarmProperties<java.lang.String> Notes 
 - 
AckNotesReqdpublic static final CommonAlarmProperties<java.lang.Boolean> AckNotesReqd 
 - 
ShelvingAllowedpublic static final CommonAlarmProperties<java.lang.Boolean> ShelvingAllowed 
 - 
NotifyInitialEventpublic static final AlarmModeProperties<java.lang.Boolean> NotifyInitialEvent This is a special api setting that indicates that we should ignore the concept of "initial" events and always notify, regardless of the gateway settings that may prevent initial notification.
 - 
IsSystemEventpublic static final CommonAlarmProperties<java.lang.Boolean> IsSystemEvent This boolean indicates whether the event is a "system" event. System events are special in that by default, they get included in all Journal queries.
 - 
IsJournaledpublic static final CommonAlarmProperties<java.lang.Boolean> IsJournaled 
 - 
IsInitialEventpublic static final CommonAlarmProperties<java.lang.Boolean> IsInitialEvent Indicates that this (active) event has been caused by the initial value of a tag, either during load, or due to the tag's enabled state.
 - 
SystemAckpublic static final CommonAlarmProperties<java.lang.Boolean> SystemAck 
 - 
IsEnabledEventpublic static final CommonAlarmProperties<java.lang.Boolean> IsEnabledEvent 
 - 
IsDisabledEventpublic static final CommonAlarmProperties<java.lang.Boolean> IsDisabledEvent 
 - 
IsShelvedpublic static final CommonAlarmProperties<java.lang.Boolean> IsShelved 
 - 
IsTransitioningPipelinespublic static final CommonAlarmProperties<java.lang.Boolean> IsTransitioningPipelines 
 - 
ShelfExpirationpublic static final CommonAlarmProperties<java.util.Date> ShelfExpiration 
 - 
ShelfUserpublic static final CommonAlarmProperties<QualifiedPath> ShelfUser 
 - 
EventCanceledpublic static final CommonAlarmProperties<java.lang.Boolean> EventCanceled This gets set to TRUE if the event should drop out of any pipeline that it is in - canceling any pending notification activities.
 - 
Filterpublic static final CommonAlarmProperties<java.lang.String> Filter The string representation of an AlarmFilter. Not parsable, just used for history/reference.
 - 
EventIdpublic static final CommonAlarmProperties<java.util.UUID> EventId 
 - 
Sourcepublic static final CommonAlarmProperties<QualifiedPath> Source 
 - 
Statepublic static final CommonAlarmProperties<AlarmState> State Alarm state is the full current state of an alarm in one enum, such as ActiveAcked. This is in comparison to the EventState property, which is the specific change that has most recently occurred.
 - 
EventStatepublic static final CommonAlarmProperties<AlarmStateTransition> EventState The most recent or most appropriate state transition of the event. Not the full state of the alarm event, which is provided by the "State" property.
 - 
EventTimepublic static final CommonAlarmProperties<java.util.Date> EventTime 
 - 
EventValuepublic static final CommonAlarmProperties<java.io.Serializable> EventValue 
 - 
AckUserpublic static final CommonAlarmProperties<QualifiedPath> AckUser The user who acknowledged the alarm, specified by an QualifiedPath that points to the user source and id. *
 - 
AckUserName@Nullable public static final CommonAlarmProperties<java.lang.String> AckUserName This calculated helper property provides a friendlier display version of the ack user property. *
 - 
AckNotespublic static final CommonAlarmProperties<java.lang.String> AckNotes 
 - 
IsAckedpublic static final CommonAlarmProperties<java.lang.Boolean> IsAcked 
 - 
IsActivepublic static final CommonAlarmProperties<java.lang.Boolean> IsActive 
 - 
IsClearpublic static final CommonAlarmProperties<java.lang.Boolean> IsClear 
 - 
ActiveTimepublic static final CommonAlarmProperties<java.util.Date> ActiveTime 
 - 
ClearTimepublic static final CommonAlarmProperties<java.util.Date> ClearTime 
 - 
AckTimepublic static final CommonAlarmProperties<java.util.Date> AckTime 
 - 
IsReleasedpublic static final CommonAlarmProperties<java.lang.Boolean> IsReleased This property is only used for internal communication of events that have been disconnected from their source alarms, usually due to the alarm going to disabled. It should not be used externally to look up state.
 - 
ActiveDurationpublic static final CommonAlarmProperties<java.lang.String> ActiveDuration Elapsed time between ActiveTime and ClearTime.
 - 
ActiveDurationMSpublic static final CommonAlarmProperties<java.lang.Integer> ActiveDurationMS Elapsed time between ActiveTime and ClearTime, in milliseconds. If not clear, calculates to the current time.
 - 
AckDurationpublic static final CommonAlarmProperties<java.lang.String> AckDuration Elapsed time between ActiveTime and AckTime.
 - 
AckDurationMSpublic static final CommonAlarmProperties<java.lang.Integer> AckDurationMS Elapsed time between ActiveTime and AckTime.
 - 
DisplayPathOrSourcepublic static final CommonAlarmProperties<java.lang.String> DisplayPathOrSource This path is going to be the string version of either the display path, if defined, or the source path. *
 - 
ItemPath@Nullable public static final CommonAlarmProperties<java.lang.String> ItemPath This helper property should provide the path of the item holding the alarm. It also includes the item name. It does not, however, include anything above the item path in the full source path (for that, use FullItemPath).
 - 
FullItemPath@Nonnull public static final CommonAlarmProperties<java.lang.String> FullItemPath Much like ItemPath, but will include everything in the source path, such as the provider, project, etc.
 - 
ItemName@Nonnull public static final CommonAlarmProperties<java.lang.String> ItemName This helper property provides the name of the item holding the alarm, without its path *
 - 
BranchDepthpublic static final CommonAlarmProperties<java.lang.Integer> BranchDepth Each time an alarm event is split in a pipeline, a new branch or instance is created. This property can be used to see and limit how many times has has or can happen.
 - 
PipelineTransitionCountpublic static final CommonAlarmProperties<java.lang.Integer> PipelineTransitionCount This property is incremented each time the alarm transitions from block to block during execution. The pipelines limit the number of times an event can be transferred, in order to prevent infinite loops.
 - 
LegacySendClearpublic static final CommonAlarmProperties<java.lang.Boolean> LegacySendClear 
 - 
CONFIG_PROPSpublic static final java.util.List<AlarmProperty<?>> CONFIG_PROPS These are the properties that are shown for configuration on all alarms. Based on the mode, different properties are shown (those are defined in AlarmModeProperties)
 - 
BASIC_BINDABLE_PROPSpublic static final java.util.List<AlarmProperty<?>> BASIC_BINDABLE_PROPS These are the basic properties that are displayed for most binding contexts. Other properties can be referenced, but these the the common properties defined in this class that are generally referenced.
 - 
INFO_PROPERTIESpublic static final java.util.List<AlarmProperty<?>> INFO_PROPERTIES These are properties that aren't config, but are used to get useful information, or calculated/derived values.
 - 
OTHER_PROPERTIESpublic static final java.util.List<AlarmProperty<?>> OTHER_PROPERTIES Any remaining properties, for translation
 - 
RUNTIME_PROPERTIESpublic static final java.util.List<AlarmProperty<?>> RUNTIME_PROPERTIES These are properties that do not allow configuration, as they only exist during runtime or execution.
 
- 
 - 
Constructor Detail- 
CommonAlarmPropertiespublic CommonAlarmProperties() Only for serialization. *
 - 
CommonAlarmPropertiespublic CommonAlarmProperties(java.lang.String simpleName, java.lang.Class<T> dtype, T defaultVal)
 - 
CommonAlarmPropertiespublic CommonAlarmProperties(java.lang.String simpleName, java.lang.String category, java.lang.Class<T> dtype, T defaultVal)
 - 
CommonAlarmProperties@Deprecated public CommonAlarmProperties(java.lang.String simpleName, java.lang.String category, java.lang.Class<T> dtype, java.lang.Object defaultVal, boolean bindable)Deprecated.This is only to work around an apparent problem with type detection in xml serialization. *
 
- 
 - 
Method Detail- 
formatDurationpublic static java.lang.String formatDuration(java.util.Date activeTime, java.util.Date otherTime, FormatUtil.DurationFormatStyle format)
 - 
getCategoryKeypublic java.lang.String getCategoryKey() 
 - 
getBundleKeyBaseprotected java.lang.String getBundleKeyBase() 
 - 
getDisplayNamepublic LocalizedString getDisplayName() Description copied from interface:DescriptivePropertyA friendly display name for the property. If not set, will return a raw LocalizedString that contains the property name.
 - 
getCategorypublic LocalizedString getCategory() Description copied from interface:DescriptivePropertyThe category under which this property will be placed when editing.
 - 
getDescriptionpublic LocalizedString getDescription() Description copied from interface:DescriptivePropertyOptional description/documentation for the property. May return null if no information is available.
 - 
valuespublic static AlarmProperty<?>[] values() 
 
- 
 
-