Interface AccountStatusNotificationHandlerCfgClient
- All Superinterfaces:
ConfigurationClient
- All Known Subinterfaces:
ErrorLogAccountStatusNotificationHandlerCfgClient
,SmtpAccountStatusNotificationHandlerCfgClient
Account Status Notification Handlers are invoked to provide notification to users in some form (for example, by an email message) when the status of a user's account has changed in some way. The Account Status Notification Handler can be used to notify the user and/or administrators of the change.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends AccountStatusNotificationHandlerCfgClient,
? extends AccountStatusNotificationHandlerCfg> Get the configuration definition associated with this Account Status Notification Handler.Gets the "java-class" property.Gets the "enabled" property.void
setEnabled
(ValueOrExpression<Boolean> value) Sets the "enabled" property.void
setJavaClass
(ValueOrExpression<String> value) Sets the "java-class" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Method Details
-
definition
ManagedObjectDefinition<? extends AccountStatusNotificationHandlerCfgClient,? extends AccountStatusNotificationHandlerCfg> definition()Get the configuration definition associated with this Account Status Notification Handler.- Specified by:
definition
in interfaceConfigurationClient
- Returns:
- Returns the configuration definition associated with this Account Status Notification Handler.
-
isEnabled
Gets the "enabled" property.Indicates whether the Account Status Notification Handler is enabled. Only enabled handlers are invoked whenever a related event occurs in the server.
- Returns:
- Returns the value of the "enabled" property.
-
setEnabled
Sets the "enabled" property.Indicates whether the Account Status Notification Handler is enabled. Only enabled handlers are invoked whenever a related event occurs in the server.
- Parameters:
value
- The value of the "enabled" property.- Throws:
PropertyException
- If the new value is invalid.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Account Status Notification Handler implementation.
- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Account Status Notification Handler implementation.
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-