Interface ConfigurationDeleteListener<T extends Configuration>
-
- Type Parameters:
T- The type of configuration that this listener should be notified about.
public interface ConfigurationDeleteListener<T extends Configuration>This interface defines the methods that a Directory Server configurable component should implement if it wishes to be able to receive notifications when an existing configuration is deleted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigChangeResultapplyConfigurationDelete(T configuration)Deletes an existing configuration from this delete listener.booleanisConfigurationDeleteAcceptable(T configuration, List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)Indicates whether the proposed deletion of an existing configuration is acceptable to this delete listener.
-
-
-
Method Detail
-
isConfigurationDeleteAcceptable
boolean isConfigurationDeleteAcceptable(T configuration, List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
Indicates whether the proposed deletion of an existing configuration is acceptable to this delete listener.- Parameters:
configuration- The configuration that will be deleted.unacceptableReasons- A list that can be used to hold messages about why the provided configuration is not acceptable.- Returns:
- Returns
trueif the proposed deletion is acceptable, orfalseif it is not.
-
applyConfigurationDelete
ConfigChangeResult applyConfigurationDelete(T configuration)
Deletes an existing configuration from this delete listener.- Parameters:
configuration- The existing configuration that will be deleted.- Returns:
- Returns information about the result of deleting the configuration.
-
-