Interface AlarmManager
- All Superinterfaces:
- AlarmShelfManager
This is the central manager for alarming in Ignition. It is the coordinator for everything on the gateway side. Alarm
 sources register themselves and their configurations, and receive 
AlarmEvaluators that they use to process
 values. Querying and status is performed through here, as well as management of alarm listeners.- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionbooleanacknowledge(Collection<UUID> eventIds, EventData ackData) Deprecated.acknowledgeBulk(Collection<UUID> eventIds, EventData ackData) Acknowledges the specified events, with the provided data.voidaddListener(QualifiedPath alarmPath, AlarmListener listener) Registers a listener for events generated at the specified path location or below.Returns the names of the registered alarm journal profiles.getEvents(Collection<UUID> ids) Retrieves the events specified by the provided ids.Returns all of the registered extended properties.Get the journal management subsystem for this Alarm Manager.Returns a property resolver that will handle all of the known alarming properties, including the registered extended properties.queryJournal(String profile, AlarmFilter filter) Returns historical events that pass the provided filter.queryStatus(AlarmFilter filter) Returns all of the current events that match the provided filter.registerAlarm(QualifiedPath sourcePath, PropertyValueSource parentProperties, AlarmConfiguration configuration, ExpressionParseContext expressionContext) Registers the configuration of an alarm for a specific source, also providing the context for references in bound alarm properties.voidregisterAlarmProvider(AlarmProvider provider) voidregisterExtendedConfigProperties(String ownerId, AlarmProperty<?>... props) Extended Configuration properties are properties added by modules.voidremoveListener(QualifiedPath alarmPath, AlarmListener listener) Removes a previously registered alarm listener.voidunregisterAlarmProvider(AlarmProvider provider) voidunregisterExtendedConfigProperties(String ownerId) Removes all of the registered properties for the given owner.Methods inherited from interface com.inductiveautomation.ignition.gateway.alarming.AlarmShelfManagergetShelvedPaths, isRemote, shelve
- 
Field Details- 
REDUNDANCY_SYSIDThe system id for alarming in redundancy- See Also:
 
- 
REDUNDANCY_SHELF_SYSID- See Also:
 
 
- 
- 
Method Details- 
registerAlarmAlarmEvaluator registerAlarm(QualifiedPath sourcePath, PropertyValueSource parentProperties, AlarmConfiguration configuration, ExpressionParseContext expressionContext) Registers the configuration of an alarm for a specific source, also providing the context for references in bound alarm properties. The result is an AlarmEvaluator which will be used by the source to evaluate values. When the source is done or removed, it should release the AlarmExecutor to unregister it from the system.
- 
acknowledgeDeprecated.Acknowledges the specified events, with the provided data. This is designed to allow one user to acknowledge multiple events at once.- Returns:
- true if the ack was successful for all passed events, and false otherwise
 
- 
acknowledgeBulkAcknowledges the specified events, with the provided data. Implementations of this method are optimized for bulk operations.- Returns:
- Set of alarm UUIDs that were unable to be acked
 
- 
addListenerRegisters a listener for events generated at the specified path location or below.
- 
removeListenerRemoves a previously registered alarm listener.
- 
queryStatusReturns all of the current events that match the provided filter. The filter is built up on conditions based on the fields defined on theAlarmFilterclass.
- 
getAvailableJournalProfilesReturns the names of the registered alarm journal profiles.
- 
queryJournalReturns historical events that pass the provided filter. The filter should at least provide a condition for the AlarmFilter.EVENTTIME field.- Parameters:
- profile- the alarm journal profile to query.
 
- 
getEventsRetrieves the events specified by the provided ids. Only returns events that are "live". Generally, live events are any that are not clear and/or not acknowledged, unless they are the only event available for an alarm. The returned list may not be the same length as the input- events for ids that do not exist will not be included.
- 
getJournalManagerAlarmJournalManager getJournalManager()Get the journal management subsystem for this Alarm Manager.- Since:
- 8.0.5
 
- 
getExtendedConfigPropertiesReturns all of the registered extended properties.
- 
registerExtendedConfigPropertiesExtended Configuration properties are properties added by modules. They complement the other types of properties: Well known (system defined), and Associated Data (user defined).- Parameters:
- ownerId- the identifier, usually module id, of the entity registering the properties.
 
- 
unregisterExtendedConfigPropertiesRemoves all of the registered properties for the given owner.
- 
getPropertyResolverPropertyResolver getPropertyResolver()Returns a property resolver that will handle all of the known alarming properties, including the registered extended properties.
- 
registerAlarmProvider
- 
unregisterAlarmProvider
 
-