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 booleanevaluate(ManagementContext context, ManagedObject<?> managedObject)Evaluates this condition against the provided client managed object.booleanevaluate(ServerManagedObject<?> managedObject)Evaluates this condition against the provided server managed object.voidinitialize(AbstractManagedObjectDefinition<?,?> d)Initializes this condition.StringtoString()
-
-
-
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:ConditionEvaluates this condition against the provided client managed object.
-
evaluate
public boolean evaluate(ServerManagedObject<?> managedObject)
Description copied from interface:ConditionEvaluates this condition against the provided server managed object.
-
initialize
public void initialize(AbstractManagedObjectDefinition<?,?> d)
Description copied from interface:ConditionInitializes this condition.- Specified by:
initializein interfaceCondition- Parameters:
d- The abstract managed object definition associated with this condition.
-
-