Interface ConfigDeleteListener
-
public interface ConfigDeleteListener
This interface defines the methods that a Directory Server component should implement if it wishes to be able to receive notification if entries below a configuration entry are removed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigChangeResult
applyConfigurationDelete(Entry configEntry)
Attempts to apply a new configuration based on the provided deleted entry.boolean
configDeleteIsAcceptable(Entry configEntry, LocalizableMessageBuilder unacceptableReason)
Indicates whether it is acceptable to remove the provided configuration entry.
-
-
-
Method Detail
-
configDeleteIsAcceptable
boolean configDeleteIsAcceptable(Entry configEntry, LocalizableMessageBuilder unacceptableReason)
Indicates whether it is acceptable to remove the provided configuration entry.- Parameters:
configEntry
- The configuration entry that will be removed from the configuration.unacceptableReason
- A buffer to which this method can append a human-readable message explaining why the proposed delete is not acceptable.- Returns:
true
if the proposed entry may be removed from the configuration, orfalse
if not.
-
applyConfigurationDelete
ConfigChangeResult applyConfigurationDelete(Entry configEntry)
Attempts to apply a new configuration based on the provided deleted entry.- Parameters:
configEntry
- The new configuration entry that has been deleted.- Returns:
- Information about the result of processing the configuration change.
-
-