Class AlertStorageManager
java.lang.Object
com.inductiveautomation.ignition.gateway.alert.storage.AlertStorageManager
- All Implemented Interfaces:
ExtensionPointManager
The AlertStorageManager keeps track of all AlertStorageProfiles
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe base logger name for the alert notification system. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidAdds a new type of alert storage profile to the system.abstract AlertStorageProfilegetProfile(Long id) Returns the alert storage profile (or null if none is defined) for a given id.abstract AlertStorageProfilegetProfile(String name) Returns the alert storage profile (or null if none is defined) for a given name.Returns a list of the names of the currently configured alert storage profilesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.gateway.model.ExtensionPointManager
getExtensionPoint, getExtensionPoints
-
Field Details
-
LOG_BASE_NAME
The base logger name for the alert notification system. Subsystems and sub elements should build off this name.- See Also:
-
-
Constructor Details
-
AlertStorageManager
public AlertStorageManager()
-
-
Method Details
-
addAlertStorageProfileType
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:
Exception- If automatic schema updating fails.
-
getProfile
Returns the alert storage profile (or null if none is defined) for a given id. -
getProfile
Returns the alert storage profile (or null if none is defined) for a given name. -
getProfileNames
Returns a list of the names of the currently configured alert storage profiles
-