Package ch.qos.logback.core.joran.action
Class AbstractEventEvaluatorAction
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.joran.action.Action
-
- ch.qos.logback.core.joran.action.AbstractEventEvaluatorAction
-
- All Implemented Interfaces:
ContextAware
- Direct Known Subclasses:
EvaluatorAction
,EvaluatorAction
public abstract class AbstractEventEvaluatorAction extends Action
-
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.joran.action.Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTE
-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description AbstractEventEvaluatorAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
begin(InterpretationContext ec, java.lang.String name, org.xml.sax.Attributes attributes)
Instantiates an evaluator of the given class and sets its name.protected abstract java.lang.String
defaultClassName()
Returns a default class name in case the class attribute is not specifiedvoid
end(InterpretationContext ec, java.lang.String e)
Once the children elements are also parsed, now is the time to activate the evaluator options.void
finish(InterpretationContext ec)
-
Methods inherited from class ch.qos.logback.core.joran.action.Action
body, getColumnNumber, getLineColStr, getLineNumber, toString
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
-
-
-
Method Detail
-
begin
public void begin(InterpretationContext ec, java.lang.String name, org.xml.sax.Attributes attributes)
Instantiates an evaluator of the given class and sets its name.
-
defaultClassName
protected abstract java.lang.String defaultClassName()
Returns a default class name in case the class attribute is not specified- Returns:
-
end
public void end(InterpretationContext ec, java.lang.String e)
Once the children elements are also parsed, now is the time to activate the evaluator options.
-
finish
public void finish(InterpretationContext ec)
-
-