T
- The expected return type of the condition@FunctionalInterface public interface ConditionEvaluationListener<T>
Modifier and Type | Method and Description |
---|---|
default void |
beforeEvaluation(StartEvaluationEvent<T> startEvaluationEvent)
Handle the startEvaluationEvent.
|
void |
conditionEvaluated(EvaluatedCondition<T> condition)
Handle an evaluated condition of a matcher.
|
default void |
exceptionIgnored(IgnoredException ignoredException)
Handle ignored exception that get thrown while condition evaluation.
|
default void |
onTimeout(TimeoutEvent timeoutEvent)
Handle the timeoutEvent.
|
void conditionEvaluated(EvaluatedCondition<T> condition)
condition
- The condition evaluation result containing various properties of the result of evaluated conditiondefault void beforeEvaluation(StartEvaluationEvent<T> startEvaluationEvent)
startEvaluationEvent
- the event containing various properties of the condition evaluation to be starteddefault void onTimeout(TimeoutEvent timeoutEvent)
timeoutEvent
- the event containing some properties about the condition evaluation timeoutdefault void exceptionIgnored(IgnoredException ignoredException)
ignoredException
- contains the ignored Throwable and various properties of the evaluationCopyright © 2010–2021. All rights reserved.