public abstract class AlertNotificationManager extends java.lang.Object implements ExtensionPointManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOG_BASE_NAME
The base logger name for the alert notification system.
|
Constructor and Description |
---|
AlertNotificationManager() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addAlertNotificationProfileType(AlertNotificationProfileType type)
Adds a new type of alert notification profile to the system.
|
abstract AlertNotificationProfile |
getProfile(long id) |
abstract AlertNotificationProfile |
getProfileForProject(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 void |
publishAlarm(AlarmEvent event,
AlarmStateTransition transition)
This function is used to bridge between the newer alarm events and this legacy notification manager.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtensionPoint, getExtensionPoints
public static final java.lang.String LOG_BASE_NAME
public abstract AlertNotificationProfile getProfileForProject(java.lang.String projectName)
public abstract AlertNotificationProfile getProfile(long id) throws java.lang.Exception
java.lang.Exception
public abstract java.util.Collection<AlertNotificationProfile> getProfiles()
public abstract void addAlertNotificationProfileType(AlertNotificationProfileType type) throws java.lang.Exception
type
- The new type of alert notification profile to add.java.lang.Exception
- If automatic schema updating fails.public abstract void publishAlarm(AlarmEvent event, AlarmStateTransition transition)