Class CommonAlarmProperties<T extends 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>,- Serializable
- Direct Known Subclasses:
- CommonAlarmProperties.CalculatedAlarmProperty
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 from
 
AlarmProperty, 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:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final CommonAlarmProperties<String>Elapsed time between ActiveTime and AckTime.static final CommonAlarmProperties<Integer>Elapsed time between ActiveTime and AckTime.static final CommonAlarmProperties<AlertAckMode>static final CommonAlarmProperties<String>static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<String>static final CommonAlarmProperties<Date>static final CommonAlarmProperties<QualifiedPath>The user who acknowledged the alarm, specified by an QualifiedPath that points to the user source and id.static final CommonAlarmProperties<String>This calculated helper property provides a friendlier display version of the ack user property.static final CommonAlarmProperties<String>Elapsed time between ActiveTime and ClearTime.static final CommonAlarmProperties<Integer>Elapsed time between ActiveTime and ClearTime, in milliseconds.static final CommonAlarmProperties<String>static final CommonAlarmProperties<Date>static final List<AlarmProperty<?>>These are the basic properties that are displayed for most binding contexts.static final CommonAlarmProperties<Integer>Each time an alarm event is split in a pipeline, a new branch or instance is created.static final CommonAlarmProperties<String>static final CommonAlarmProperties<Date>static final List<AlarmProperty<?>>These are the properties that are shown for configuration on all alarms.static final CommonAlarmProperties<Double>static final CommonAlarmProperties<DeadbandMode>static final CommonAlarmProperties<String>static final CommonAlarmProperties<String>This path is going to be the string version of either the display path, if defined, or the source path.static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<Boolean>This gets set to TRUE if the event should drop out of any pipeline that it is in - canceling any pending notification activities.static final CommonAlarmProperties<UUID>static final CommonAlarmProperties<AlarmStateTransition>The most recent or most appropriate state transition of the event.static final CommonAlarmProperties<Date>static final CommonAlarmProperties<Serializable>static final CommonAlarmProperties<String>The string representation of an AlarmFilter.static final CommonAlarmProperties<String>Much like ItemPath, but will include everything in the source path, such as the provider, project, etc.static final List<AlarmProperty<?>>These are properties that aren't config, but are used to get useful information, or calculated/derived values.static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<Boolean>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.static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<Boolean>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.static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<Boolean>This boolean indicates whether the event is a "system" event.static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<String>This helper property provides the name of the item holding the alarm, without its path *static final CommonAlarmProperties<String>This helper property should provide the path of the item holding the alarm.static final CommonAlarmProperties<String>static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<Integer>static final CommonAlarmProperties<Integer>static final CommonAlarmProperties<String>static final CommonAlarmProperties<String>static final AlarmModeProperties<Boolean>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.static final List<AlarmProperty<?>>Any remaining properties, for translationstatic final CommonAlarmProperties<String>The name of the Project that the pipelines specified byActivePipeline,ClearPipeline, andAckPipelinereside in.static final CommonAlarmProperties<Integer>This property is incremented each time the alarm transitions from block to block during execution.static final CommonAlarmProperties<AlarmPriority>static final List<AlarmProperty<?>>These are properties that do not allow configuration, as they only exist during runtime or execution.static final CommonAlarmProperties<Date>static final CommonAlarmProperties<QualifiedPath>static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<QualifiedPath>static final CommonAlarmProperties<AlarmState>Alarm state is the full current state of an alarm in one enum, such as ActiveAcked.static final CommonAlarmProperties<Boolean>static final CommonAlarmProperties<Double>static final CommonAlarmProperties<Double>static final CommonAlarmProperties<TimestampSource>
- 
Constructor SummaryConstructorsConstructorDescriptionOnly for serialization.CommonAlarmProperties(String simpleName, Class<T> dtype, T defaultVal) CommonAlarmProperties(String simpleName, String category, Class<T> dtype, Object defaultVal, boolean bindable) Deprecated.CommonAlarmProperties(String simpleName, String category, Class<T> dtype, T defaultVal, boolean bindable) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringformatDuration(Date activeTime, Date otherTime, FormatUtil.DurationFormatStyle format) protected StringThe category under which this property will be placed when editing.Optional description/documentation for the property.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 Details- 
Name
- 
Enabled
- 
Priority
- 
Label
- 
DisplayPath
- 
PipelineProjectThe name of the Project that the pipelines specified byActivePipeline,ClearPipeline, andAckPipelinereside in.
- 
ActivePipeline
- 
ClearPipeline
- 
AckPipeline
- 
Deadband
- 
DeadbandEvalMode
- 
TimeOnDelaySeconds
- 
TimeOffDelaySeconds
- 
TimestampSource
- 
AckMode
- 
Notes
- 
AckNotesReqd
- 
ShelvingAllowed
- 
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.
- 
IsSystemEventThis boolean indicates whether the event is a "system" event. System events are special in that by default, they get included in all Journal queries.
- 
IsJournaled
- 
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.
- 
SystemAck
- 
IsEnabledEvent
- 
IsDisabledEvent
- 
IsShelved
- 
LiveBranchCount
- 
LivePipelineCount
- 
IsTransitioningPipelines
- 
ShelfExpiration
- 
ShelfUser
- 
EventCanceledThis gets set to TRUE if the event should drop out of any pipeline that it is in - canceling any pending notification activities.
- 
FilterThe string representation of an AlarmFilter. Not parsable, just used for history/reference.
- 
EventId
- 
Source
- 
StateAlarm 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.
- 
EventStateThe most recent or most appropriate state transition of the event. Not the full state of the alarm event, which is provided by the CATEGORY_STATE property.
- 
EventTime
- 
EventValue
- 
AckUserThe user who acknowledged the alarm, specified by an QualifiedPath that points to the user source and id. *
- 
AckUserNameThis calculated helper property provides a friendlier display version of the ack user property. *
- 
AckNotes
- 
IsAcked
- 
IsActive
- 
IsClear
- 
ActiveTime
- 
ClearTime
- 
AckTime
- 
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. It should not be used externally to look up state.
- 
ActiveDurationElapsed time between ActiveTime and ClearTime.
- 
ActiveDurationMSElapsed time between ActiveTime and ClearTime, in milliseconds. If not clear, calculates to the current time.
- 
AckDurationElapsed time between ActiveTime and AckTime.
- 
AckDurationMSElapsed time between ActiveTime and AckTime.
- 
DisplayPathOrSourceThis path is going to be the string version of either the display path, if defined, or the source path. *
- 
ItemPathThis 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).
- 
FullItemPathMuch like ItemPath, but will include everything in the source path, such as the provider, project, etc.
- 
ItemNameThis helper property provides the name of the item holding the alarm, without its path *
- 
BranchDepthEach 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.
- 
PipelineTransitionCountThis 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.
- 
LegacySendClear
- 
CONFIG_PROPSThese 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_PROPSThese 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_PROPERTIESThese are properties that aren't config, but are used to get useful information, or calculated/derived values.
- 
OTHER_PROPERTIESAny remaining properties, for translation
- 
RUNTIME_PROPERTIESThese are properties that do not allow configuration, as they only exist during runtime or execution.
 
- 
- 
Constructor Details- 
CommonAlarmPropertiespublic CommonAlarmProperties()Only for serialization. *
- 
CommonAlarmProperties
- 
CommonAlarmProperties
- 
CommonAlarmProperties@Deprecated public CommonAlarmProperties(String simpleName, String category, Class<T> dtype, Object defaultVal, boolean bindable) Deprecated.This is only to work around an apparent problem with type detection in xml serialization. *
- 
CommonAlarmProperties
 
- 
- 
Method Details- 
formatDurationpublic static String formatDuration(Date activeTime, Date otherTime, FormatUtil.DurationFormatStyle format) 
- 
getCategoryKey
- 
getBundleKeyBase
- 
getDisplayNameDescription copied from interface:DescriptivePropertyA friendly display name for the property. If not set, will return a raw LocalizedString that contains the property name.
- 
getCategoryDescription copied from interface:DescriptivePropertyThe category under which this property will be placed when editing.
- 
getDescriptionDescription copied from interface:DescriptivePropertyOptional description/documentation for the property. May return null if no information is available.
- 
values
 
-