public interface AlertHandlerCfg extends Configuration
Alert Handlers are used to notify administrators of significant problems or notable events that occur in the OpenDJ directory server.
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ConfigurationChangeListener<AlertHandlerCfg> listener)
Register to be notified when this Alert Handler is changed.
|
Class<? extends AlertHandlerCfg> |
configurationClass()
Gets the configuration class associated with this Alert Handler.
|
SortedSet<String> |
getDisabledAlertType()
Gets the "disabled-alert-type" property.
|
SortedSet<String> |
getEnabledAlertType()
Gets the "enabled-alert-type" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
boolean |
isEnabled()
Gets the "enabled" property.
|
void |
removeChangeListener(ConfigurationChangeListener<AlertHandlerCfg> listener)
Deregister an existing Alert Handler configuration change listener.
|
dn
Class<? extends AlertHandlerCfg> configurationClass()
configurationClass
in interface Configuration
void addChangeListener(ConfigurationChangeListener<AlertHandlerCfg> listener)
listener
- The Alert Handler configuration change listener.void removeChangeListener(ConfigurationChangeListener<AlertHandlerCfg> listener)
listener
- The Alert Handler configuration change listener.SortedSet<String> getDisabledAlertType()
Specifies the names of the alert types that are disabled for this alert handler.
If there are any values for this attribute, then no alerts with any of the specified types are allowed. If there are no values for this attribute, then only alerts with a type included in the set of enabled alert types are allowed, or if there are no values for the enabled alert types option, then all alert types are allowed.
boolean isEnabled()
Indicates whether the Alert Handler is enabled.
SortedSet<String> getEnabledAlertType()
Specifies the names of the alert types that are enabled for this alert handler.
If there are any values for this attribute, then only alerts with one of the specified types are allowed (unless they are also included in the disabled alert types). If there are no values for this attribute, then any alert with a type not included in the list of disabled alert types is allowed.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Alert Handler implementation.
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.