Interface ConfigAddListener
-
public interface ConfigAddListenerThis interface defines the methods that a Directory Server component should implement if it wishes to be able to receive notification of new entries added below a configuration entry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigChangeResultapplyConfigurationAdd(org.forgerock.opendj.ldap.Entry configEntry)Attempts to apply a new configuration based on the provided added entry.booleanconfigAddIsAcceptable(org.forgerock.opendj.ldap.Entry configEntry, org.forgerock.i18n.LocalizableMessageBuilder unacceptableReason)Indicates whether the configuration entry that will result from a proposed add is acceptable to this add listener.
-
-
-
Method Detail
-
configAddIsAcceptable
boolean configAddIsAcceptable(org.forgerock.opendj.ldap.Entry configEntry, org.forgerock.i18n.LocalizableMessageBuilder unacceptableReason)Indicates whether the configuration entry that will result from a proposed add is acceptable to this add listener.- Parameters:
configEntry- The configuration entry that will result from the requested add.unacceptableReason- A buffer to which this method can append a human-readable message explaining why the proposed entry is not acceptable.- Returns:
trueif the proposed entry contains an acceptable configuration, orfalseif it does not.
-
applyConfigurationAdd
ConfigChangeResult applyConfigurationAdd(org.forgerock.opendj.ldap.Entry configEntry)
Attempts to apply a new configuration based on the provided added entry.- Parameters:
configEntry- The new configuration entry that contains the configuration to apply.- Returns:
- Information about the result of processing the configuration change.
-
-