Package ch.qos.logback.core.joran.action
Class Action
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.action.Action
- All Implemented Interfaces:
ContextAware
- Direct Known Subclasses:
AbstractEventEvaluatorAction,AppenderAction,AppenderRefAction,ConfigurationAction,ConsolePluginAction,ContextNameAction,ContextPropertyAction,ConversionRuleAction,DefinePropertyAction,IfAction,ImplicitAction,IncludeAction,InsertFromJNDIAction,JMXConfiguratorAction,LevelAction,LoggerAction,LoggerContextListenerAction,NewRuleAction,NOPAction,ParamAction,PropertyAction,ReceiverAction,RootLoggerAction,ShutdownHookAction,SiftAction,StatusListenerAction,ThenOrElseActionBase,TimestampAction
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
Most of the work for configuring logback is done by Actions.
Action methods are invoked as the XML file is parsed.
This class is largely inspired from the relevant class in the commons-digester project of the Apache Software Foundation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidbegin(InterpretationContext ic, String name, Attributes attributes) Deprecated.Called when the parser encounters an element matching aPattern.voidbody(InterpretationContext ic, String body) Deprecated.Called to pass the body (as text) contained within an element.abstract voidend(InterpretationContext ic, String name) Deprecated.toString()Deprecated.Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Field Details
-
NAME_ATTRIBUTE
Deprecated.- See Also:
-
KEY_ATTRIBUTE
Deprecated.- See Also:
-
VALUE_ATTRIBUTE
Deprecated.- See Also:
-
FILE_ATTRIBUTE
Deprecated.- See Also:
-
CLASS_ATTRIBUTE
Deprecated.- See Also:
-
PATTERN_ATTRIBUTE
Deprecated.- See Also:
-
SCOPE_ATTRIBUTE
Deprecated.- See Also:
-
ACTION_CLASS_ATTRIBUTE
Deprecated.- See Also:
-
-
Constructor Details
-
Action
public Action()Deprecated.
-
-
Method Details
-
begin
public abstract void begin(InterpretationContext ic, String name, Attributes attributes) throws ActionException Deprecated.Called when the parser encounters an element matching aPattern.- Throws:
ActionException
-
body
Deprecated.Called to pass the body (as text) contained within an element.- Parameters:
ic-body-- Throws:
ActionException
-
end
Deprecated.- Throws:
ActionException
-
toString
Deprecated.
-