public interface Condition
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(ManagementContext context,
ManagedObject<?> managedObject)
Evaluates this condition against the provided client managed object.
|
boolean |
evaluate(ServerManagedObject<?> managedObject)
Evaluates this condition against the provided server managed object.
|
void |
initialize(AbstractManagedObjectDefinition<?,?> d)
Initializes this condition.
|
void initialize(AbstractManagedObjectDefinition<?,?> d) throws Exception
d
- The abstract managed object definition associated with this
condition.Exception
- If this condition could not be initialized.boolean evaluate(ManagementContext context, ManagedObject<?> managedObject) throws LdapException
context
- The client management context.managedObject
- The client managed object.true
if this condition is satisfied.LdapException
- If the condition could not be evaluated.boolean evaluate(ServerManagedObject<?> managedObject) throws ConfigException
managedObject
- The server managed object.true
if this condition is satisfied.ConfigException
- If the condition could not be evaluated due to an unexpected
configuration exception.Copyright 2010-2018 ForgeRock AS.