Package | Description |
---|---|
agi.foundation.stoppingconditions |
Contains types for stopping propagation when various events occur.
|
Modifier and Type | Method and Description |
---|---|
StoppingTriggeredCallback |
StoppingConditionEvaluator.getSatisfiedCallback()
Gets a
delegate that is executed when this condition is satisfied. |
StoppingTriggeredCallback |
StoppingCondition.getSatisfiedCallback()
Gets a callback that is executed when this condition is satisfied.
|
static StoppingTriggeredCallback |
StoppingTriggeredCallback.of(StoppingTriggeredCallback.Function f)
Create a delegate for the given interface.
|
static StoppingTriggeredCallback |
StoppingTriggeredCallback.of(StoppingTriggeredCallback.Function f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static StoppingTriggeredCallback |
StoppingTriggeredCallback.of(StoppingTriggeredCallback.Function f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
void |
StoppingCondition.setSatisfiedCallback(StoppingTriggeredCallback value)
Sets a callback that is executed when this condition is satisfied.
|