Class AlertNotificationManager
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.alert.notification.AlertNotificationManager
 
- 
- All Implemented Interfaces:
- ExtensionPointManager
 
 public abstract class AlertNotificationManager extends java.lang.Object implements ExtensionPointManager The AlertNotificationManager keeps track of all AlertNotificationProfiles
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringLOG_BASE_NAMEThe base logger name for the alert notification system.
 - 
Constructor SummaryConstructors Constructor Description AlertNotificationManager()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidaddAlertNotificationProfileType(AlertNotificationProfileType type)Adds a new type of alert notification profile to the system.abstract AlertNotificationProfilegetProfile(long id)abstract AlertNotificationProfilegetProfileForProject(java.lang.String projectName)Returns the alert notification profile (or null if none is defined) for a specific project.abstract java.util.Collection<AlertNotificationProfile>getProfiles()abstract voidpublishAlarm(AlarmEvent event, AlarmStateTransition transition)This function is used to bridge between the newer alarm events and this legacy notification manager.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.gateway.model.ExtensionPointManagergetExtensionPoint, getExtensionPoints
 
- 
 
- 
- 
- 
Field Detail- 
LOG_BASE_NAMEpublic static final java.lang.String LOG_BASE_NAME The base logger name for the alert notification system. Subsystems and sub elements should build off this name.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getProfileForProjectpublic abstract AlertNotificationProfile getProfileForProject(java.lang.String projectName) Returns the alert notification profile (or null if none is defined) for a specific project.
 - 
getProfilepublic abstract AlertNotificationProfile getProfile(long id) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
getProfilespublic abstract java.util.Collection<AlertNotificationProfile> getProfiles() 
 - 
addAlertNotificationProfileTypepublic abstract void addAlertNotificationProfileType(AlertNotificationProfileType type) throws java.lang.Exception Adds a new type of alert notification profile to the system. Also makes sure that the persistent settings record indicated in the type is known by the internal schema manager- Parameters:
- type- The new type of alert notification profile to add.
- Throws:
- java.lang.Exception- If automatic schema updating fails.
 
 - 
publishAlarmpublic abstract void publishAlarm(AlarmEvent event, AlarmStateTransition transition) This function is used to bridge between the newer alarm events and this legacy notification manager.
 
- 
 
-