public interface EventEvaluator<E> extends ContextAware, LifeCycle
Implementations are free to evaluate the event as they see fit. In particular, the evaluation results may depend on previous events.
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(E event)
Evaluates whether the event passed as parameter matches some user-specified
criteria.
|
java.lang.String |
getName()
Evaluators are named entities.
|
void |
setName(java.lang.String name)
Evaluators are named entities.
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextboolean evaluate(E event) throws java.lang.NullPointerException, EvaluationException
The Evaluator is free to evaluate the event as it pleases. In
particular, the evaluation results may depend on previous events.
event - The event to evaluatejava.lang.NullPointerException - can be thrown in presence of null valuesEvaluationException - may be thrown during faulty evaluationjava.lang.String getName()
void setName(java.lang.String name)
Copyright © 2010 - 2023 Adobe. All Rights Reserved