Class 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 Details

  • Constructor Details

    • JaninoEventEvaluatorBase

      public JaninoEventEvaluatorBase()
      Deprecated.
  • Method Details

    • start

      public void start()
      Deprecated.
      Specified by:
      start in interface LifeCycle
      Overrides:
      start in class EventEvaluatorBase<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 String getExpression()
      Deprecated.
    • setExpression

      public void setExpression(String expression)
      Deprecated.
    • addMatcher

      public void addMatcher(Matcher matcher)
      Deprecated.
    • getMatcherList

      public List<Matcher> getMatcherList()
      Deprecated.