public class EvaluatorFilter<E> extends AbstractMatcherFilter<E>
AbstractMatcherFilter.onMismatchattributes 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
FilterReply.DENY. That way, it is possible to
decide if a given result must be returned after the evaluation either failed
For more information about filters, please refer to the online manual at http://logback.qos.ch/manual/filters.html
|Constructor and Description|
|Modifier and Type||Method and Description|
If the decision is
getOnMatch, getOnMismatch, setOnMatch, setOnMismatch
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
public void start()
public FilterReply decide(E event)
, then the event will be dropped. If the decision is
, then the next filter, if any, will be invoked. If the decision is
then the event will be logged without consulting with other filters in the chain.
Copyright © 2005–2018 QOS.ch. All rights reserved.