public interface AlertHandlerCfgClient extends ConfigurationClient
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 |
---|---|
ManagedObjectDefinition<? extends AlertHandlerCfgClient,? extends AlertHandlerCfg> |
definition()
Get the configuration definition 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 |
setDisabledAlertType(Collection<String> values)
Sets the "disabled-alert-type" property.
|
void |
setEnabled(boolean value)
Sets the "enabled" property.
|
void |
setEnabledAlertType(Collection<String> values)
Sets the "enabled-alert-type" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
commit, properties
ManagedObjectDefinition<? extends AlertHandlerCfgClient,? extends AlertHandlerCfg> definition()
definition
in interface ConfigurationClient
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.
void setDisabledAlertType(Collection<String> values) throws PropertyException
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.
values
- The values of the "disabled-alert-type" property.PropertyException
- If one or more of the new values are invalid.Boolean isEnabled()
Indicates whether the Alert Handler is enabled.
void setEnabled(boolean value) throws PropertyException
Indicates whether the Alert Handler is enabled.
value
- The value of the "enabled" property.PropertyException
- If the new value is invalid.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.
void setEnabledAlertType(Collection<String> values) throws PropertyException
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.
values
- The values of the "enabled-alert-type" property.PropertyException
- If one or more of the new values are invalid.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Alert Handler implementation.
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the Alert Handler implementation.
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.