T
- The type of configuration that this listener should be notified
about.public interface ConfigurationChangeListener<T extends Configuration>
Modifier and Type | Method and Description |
---|---|
ConfigChangeResult |
applyConfigurationChange(T configuration)
Applies the configuration changes to this change listener.
|
boolean |
isConfigurationChangeAcceptable(T configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the proposed change to the configuration is acceptable
to this change listener.
|
boolean isConfigurationChangeAcceptable(T configuration, List<LocalizableMessage> unacceptableReasons)
configuration
- The new configuration containing the changes.unacceptableReasons
- A list that can be used to hold messages about why the
provided configuration is not acceptable.true
if the proposed change is acceptable,
or false
if it is not.ConfigChangeResult applyConfigurationChange(T configuration)
configuration
- The new configuration containing the changes.Copyright 2010-2020 ForgeRock AS.