Class AlertStorageManager
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.alert.storage.AlertStorageManager
 
- 
- All Implemented Interfaces:
- ExtensionPointManager
 
 public abstract class AlertStorageManager extends java.lang.Object implements ExtensionPointManager The AlertStorageManager keeps track of all AlertStorageProfiles
- 
- 
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 AlertStorageManager()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidaddAlertStorageProfileType(AlertStorageProfileType type)Adds a new type of alert storage profile to the system.abstract AlertStorageProfilegetProfile(java.lang.Long id)Returns the alert storage profile (or null if none is defined) for a given id.abstract AlertStorageProfilegetProfile(java.lang.String name)Returns the alert storage profile (or null if none is defined) for a given name.abstract java.util.List<java.lang.String>getProfileNames()Returns a list of the names of the currently configured alert storage profiles- 
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- 
addAlertStorageProfileTypepublic abstract void addAlertStorageProfileType(AlertStorageProfileType type) throws java.lang.Exception Adds a new type of alert storage 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 storage profile to add.
- Throws:
- java.lang.Exception- If automatic schema updating fails.
 
 - 
getProfilepublic abstract AlertStorageProfile getProfile(java.lang.Long id) Returns the alert storage profile (or null if none is defined) for a given id.
 - 
getProfilepublic abstract AlertStorageProfile getProfile(java.lang.String name) Returns the alert storage profile (or null if none is defined) for a given name.
 - 
getProfileNamespublic abstract java.util.List<java.lang.String> getProfileNames() Returns a list of the names of the currently configured alert storage profiles
 
- 
 
-