E - public abstract class JaninoEventEvaluatorBase<E> extends EventEvaluatorBase<E>
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_THRESHOLD |
| Constructor and Description |
|---|
JaninoEventEvaluatorBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMatcher(Matcher matcher) |
boolean |
evaluate(E event)
Evaluates whether the event passed as parameter matches some user-specified
criteria.
|
java.lang.String |
getExpression() |
java.util.List<Matcher> |
getMatcherList() |
void |
setExpression(java.lang.String expression) |
void |
start() |
getName, isStarted, setName, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContextequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextpublic static final int ERROR_THRESHOLD
public void start()
start in interface LifeCyclestart in class EventEvaluatorBase<E>public boolean evaluate(E event) throws EvaluationException
EventEvaluator
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 evaluateEvaluationException - may be thrown during faulty evaluationpublic java.lang.String getExpression()
public void setExpression(java.lang.String expression)
public void addMatcher(Matcher matcher)
public java.util.List<Matcher> getMatcherList()
Copyright © 2010 - 2023 Adobe. All Rights Reserved