Class EvaluatorFilter<E>

All Implemented Interfaces:
ContextAware, LifeCycle

public class EvaluatorFilter<E> extends AbstractMatcherFilter<E>
The value of the AbstractMatcherFilter.onMatch and AbstractMatcherFilter.onMismatch attributes is set to FilterReply.NEUTRAL, so that a badly configured evaluator filter does not disturb the functioning of the filter chain.

It is expected that one of the two attributes will have its value changed to FilterReply.ACCEPT or FilterReply.DENY. That way, it is possible to decide if a given result must be returned after the evaluation either failed or succeeded.

For more information about filters, please refer to the online manual at http://logback.qos.ch/manual/filters.html

Author:
Ceki Gülcü, Sébastien Pennec