Package ch.qos.logback.core.boolex
Class JaninoEventEvaluatorBase<E>
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.boolex.EventEvaluatorBase<E>
-
- ch.qos.logback.core.boolex.JaninoEventEvaluatorBase<E>
-
- Type Parameters:
E
-
- All Implemented Interfaces:
EventEvaluator<E>
,ContextAware
,LifeCycle
- Direct Known Subclasses:
JaninoEventEvaluator
@Deprecated(since="2022-01-27") public abstract class JaninoEventEvaluatorBase<E> extends EventEvaluatorBase<E>
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Abstract class which sets the groundwork for janino based evaluations.
-
-
Field Summary
Fields Modifier and Type Field Description static int
ERROR_THRESHOLD
Deprecated.
-
Constructor Summary
Constructors Constructor Description JaninoEventEvaluatorBase()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addMatcher(Matcher matcher)
Deprecated.boolean
evaluate(E event)
Deprecated.Evaluates whether the event passed as parameter matches some user-specified criteria.java.lang.String
getExpression()
Deprecated.java.util.List<Matcher>
getMatcherList()
Deprecated.void
setExpression(java.lang.String expression)
Deprecated.void
start()
Deprecated.-
Methods inherited from class ch.qos.logback.core.boolex.EventEvaluatorBase
getName, isStarted, setName, stop
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
-
-
Field Detail
-
ERROR_THRESHOLD
public static final int ERROR_THRESHOLD
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start()
Deprecated.- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classEventEvaluatorBase<E>
-
evaluate
public boolean evaluate(E event) throws EvaluationException
Deprecated.Description copied from interface:EventEvaluator
Evaluates whether the event passed as parameter matches some user-specified criteria.The
Evaluator
is free to evaluate the event as it pleases. In particular, the evaluation results may depend on previous events.- Parameters:
event
- The event to evaluate- Returns:
- true if there is a match, false otherwise.
- Throws:
EvaluationException
- may be thrown during faulty evaluation
-
getExpression
public java.lang.String getExpression()
Deprecated.
-
setExpression
public void setExpression(java.lang.String expression)
Deprecated.
-
addMatcher
public void addMatcher(Matcher matcher)
Deprecated.
-
getMatcherList
public java.util.List<Matcher> getMatcherList()
Deprecated.
-
-