Constructor and Description |
---|
IsPresentCondition(String propertyName)
Creates a new is present 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.
|
String |
toString() |
public IsPresentCondition(String propertyName)
propertyName
- The property name.public boolean evaluate(ManagementContext context, ManagedObject<?> managedObject)
Condition
public boolean evaluate(ServerManagedObject<?> managedObject)
Condition
public void initialize(AbstractManagedObjectDefinition<?,?> d) throws Exception
Condition
initialize
in interface Condition
d
- The abstract managed object definition associated with this
condition.Exception
- If this condition could not be initialized.Copyright 2010-2018 ForgeRock AS.