|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.admin.condition.ORCondition
public final class ORCondition
A condition which evaluates to false if and only if
all of its sub-conditions are false.
| Constructor Summary | |
|---|---|
ORCondition(Condition... conditions)
Creates a new logical OR condition with the provided sub-conditions. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ORCondition(Condition... conditions)
conditions - The sub-conditions which will be combined using a
logical OR.| Method Detail |
|---|
public boolean evaluate(ManagementContext context,
ManagedObject<?> managedObject)
throws AuthorizationException,
CommunicationException
evaluate in interface Conditioncontext - The client management context.managedObject - The client managed object.
true if this condition is
satisfied.
AuthorizationException - If the condition could not be evaluated due to an
authorization problem.
CommunicationException - If the condition could not be evaluated due to an
communication problem.
public boolean evaluate(ServerManagedObject<?> managedObject)
throws ConfigException
evaluate in interface ConditionmanagedObject - The server managed object.
true if this condition is
satisfied.
ConfigException - If the condition could not be evaluated due to an
unexpected configuration exception.
public void initialize(AbstractManagedObjectDefinition<?,?> d)
throws java.lang.Exception
initialize in interface Conditiond - The abstract managed object definition associated with
this condition.
java.lang.Exception - If this condition could not be initialized.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||