Class IsPresentCondition
- java.lang.Object
-
- org.forgerock.opendj.config.conditions.IsPresentCondition
-
-
Constructor Summary
Constructors Constructor Description IsPresentCondition(String propertyName)
Creates a new is present condition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.String
toString()
-
-
-
Constructor Detail
-
IsPresentCondition
public IsPresentCondition(String propertyName)
Creates a new is present condition.- Parameters:
propertyName
- The property name.
-
-
Method Detail
-
evaluate
public boolean evaluate(ManagementContext context, ManagedObject<?> managedObject)
Description copied from interface:Condition
Evaluates this condition against the provided client managed object.
-
evaluate
public boolean evaluate(ServerManagedObject<?> managedObject)
Description copied from interface:Condition
Evaluates this condition against the provided server managed object.
-
initialize
public void initialize(AbstractManagedObjectDefinition<?,?> d)
Description copied from interface:Condition
Initializes this condition.- Specified by:
initialize
in interfaceCondition
- Parameters:
d
- The abstract managed object definition associated with this condition.
-
-