Class AlertStorageManager

  • All Implemented Interfaces:
    ExtensionPointManager

    public abstract class AlertStorageManager
    extends java.lang.Object
    implements ExtensionPointManager
    The AlertStorageManager keeps track of all AlertStorageProfiles
    • Field Detail

      • LOG_BASE_NAME

        public 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
    • Constructor Detail

      • AlertStorageManager

        public AlertStorageManager()
    • Method Detail

      • addAlertStorageProfileType

        public 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.
      • getProfile

        public abstract AlertStorageProfile getProfile​(java.lang.Long id)
        Returns the alert storage profile (or null if none is defined) for a given id.
      • getProfile

        public abstract AlertStorageProfile getProfile​(java.lang.String name)
        Returns the alert storage profile (or null if none is defined) for a given name.
      • getProfileNames

        public abstract java.util.List<java.lang.String> getProfileNames()
        Returns a list of the names of the currently configured alert storage profiles