T
- The type of server managed object that this listener should be
notified about.public interface ServerManagedObjectAddListener<T extends Configuration>
Modifier and Type | Method and Description |
---|---|
ConfigChangeResult |
applyConfigurationAdd(ServerManagedObject<? extends T> mo)
Adds a new server managed object to this add listener.
|
boolean |
isConfigurationAddAcceptable(ServerManagedObject<? extends T> mo,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the proposed addition of a new server managed object is
acceptable to this add listener.
|
boolean isConfigurationAddAcceptable(ServerManagedObject<? extends T> mo, List<LocalizableMessage> unacceptableReasons)
mo
- The server managed object that will be added.unacceptableReasons
- A list that can be used to hold messages about why the
provided server managed object is not acceptable.true
if the proposed addition is acceptable,
or false
if it is not.ConfigChangeResult applyConfigurationAdd(ServerManagedObject<? extends T> mo)
mo
- The server managed object that will be added.Copyright 2010-2020 ForgeRock AS.