@PublicAPI(stability=VOLATILE, mayInstantiate=false, mayExtend=true, mayInvoke=false) public interface ConfigAddListener
Modifier and Type | Method and Description |
---|---|
ConfigChangeResult |
applyConfigurationAdd(ConfigEntry configEntry)
Attempts to apply a new configuration based on the provided added
entry.
|
boolean |
configAddIsAcceptable(ConfigEntry configEntry,
LocalizableMessageBuilder unacceptableReason)
Indicates whether the configuration entry that will result from a
proposed add is acceptable to this add listener.
|
boolean configAddIsAcceptable(ConfigEntry configEntry, LocalizableMessageBuilder unacceptableReason)
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.true
if the proposed entry contains an
acceptable configuration, or false
if it does
not.ConfigChangeResult applyConfigurationAdd(ConfigEntry configEntry)
configEntry
- The new configuration entry that contains
the configuration to apply.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.