Package | Description |
---|---|
agi.foundation.stoppingconditions |
Contains types for stopping propagation when various events occur.
|
Modifier and Type | Method and Description |
---|---|
ConstraintSatisfiedCallback |
DelegateStoppingConditionConstraint.getConstraintSatisfactionCallback()
Gets the
delegate that will return true or
false depending on if the StoppingConditionConstraint is satisfied. |
static ConstraintSatisfiedCallback |
ConstraintSatisfiedCallback.of(ConstraintSatisfiedCallback.Function f)
Create a delegate for the given interface.
|
static ConstraintSatisfiedCallback |
ConstraintSatisfiedCallback.of(ConstraintSatisfiedCallback.Function f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static ConstraintSatisfiedCallback |
ConstraintSatisfiedCallback.of(ConstraintSatisfiedCallback.Function f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
void |
DelegateStoppingConditionConstraint.setConstraintSatisfactionCallback(ConstraintSatisfiedCallback value)
Sets the
delegate that will return true or
false depending on if the StoppingConditionConstraint is satisfied. |
Constructor and Description |
---|
DelegateStoppingConditionConstraint(ConstraintSatisfiedCallback constraintSatisfactionCallback,
WhenToCheckConstraint whenToCheck)
Initializes a new instance.
|