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
public abstract class AbstractEventEvaluatorAction
- extends Action
Method Summary |
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 specified |
void |
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.spi.ContextAwareBase |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractEventEvaluatorAction
public AbstractEventEvaluatorAction()
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.
- Specified by:
begin
in class Action
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.
- Specified by:
end
in class Action
finish
public void finish(InterpretationContext ec)