Interface EventEvaluator<E>

    • Method Detail

      • evaluate

        boolean evaluate​(E event)
                  throws java.lang.NullPointerException,
                         EvaluationException
        Deprecated.
        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:
        java.lang.NullPointerException - can be thrown in presence of null values
        EvaluationException - may be thrown during faulty evaluation
      • getName

        java.lang.String getName()
        Deprecated.
        Evaluators are named entities.
        Returns:
        The name of this evaluator.
      • setName

        void setName​(java.lang.String name)
        Deprecated.
        Evaluators are named entities.