Class IsPresentCondition
java.lang.Object
org.forgerock.opendj.config.conditions.IsPresentCondition
- All Implemented Interfaces:
Condition
A condition which evaluates to
true
if and only if a particular
property has any values specified.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
Initializes this condition.toString()
-
Constructor Details
-
IsPresentCondition
Creates a new is present condition.- Parameters:
propertyName
- The property name.
-
-
Method Details
-
evaluate
Description copied from interface:Condition
Evaluates this condition against the provided client managed object. -
evaluate
Description copied from interface:Condition
Evaluates this condition against the provided server managed object. -
initialize
Description copied from interface:Condition
Initializes this condition.- Specified by:
initialize
in interfaceCondition
- Parameters:
d
- The abstract managed object definition associated with this condition.
-
toString
-