T - The type of configuration that this listener should be
notified about.public interface ConfigurationAddListener<T extends Configuration>
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationAdd(T configuration)
Adds a new configuration to this add listener.
|
boolean |
isConfigurationAddAcceptable(T configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the proposed addition of a new configuration is
acceptable to this add listener.
|
boolean isConfigurationAddAcceptable(T configuration, List<LocalizableMessage> unacceptableReasons)
configuration - The configuration that will be added.unacceptableReasons - A list that can be used to hold messages about why the
provided configuration is not acceptable.true if the proposed addition is
acceptable, or false if it is not.org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationAdd(T configuration)
configuration - The configuration that will be added.Copyright © 2010-2018 ForgeRock AS. All Rights Reserved.