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(since="2022-01-27") public abstract class Action extends ContextAwareBase
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 Modifier and Type Field Description static java.lang.String
ACTION_CLASS_ATTRIBUTE
Deprecated.static java.lang.String
CLASS_ATTRIBUTE
Deprecated.static java.lang.String
FILE_ATTRIBUTE
Deprecated.static java.lang.String
KEY_ATTRIBUTE
Deprecated.static java.lang.String
NAME_ATTRIBUTE
Deprecated.static java.lang.String
PATTERN_ATTRIBUTE
Deprecated.static java.lang.String
SCOPE_ATTRIBUTE
Deprecated.static java.lang.String
VALUE_ATTRIBUTE
Deprecated.
-
Constructor Summary
Constructors Constructor Description Action()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract void
begin(InterpretationContext ic, java.lang.String name, org.xml.sax.Attributes attributes)
Deprecated.Called when the parser encounters an element matching aPattern
.void
body(InterpretationContext ic, java.lang.String body)
Deprecated.Called to pass the body (as text) contained within an element.abstract void
end(InterpretationContext ic, java.lang.String name)
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Field Detail
-
NAME_ATTRIBUTE
public static final java.lang.String NAME_ATTRIBUTE
Deprecated.- See Also:
- Constant Field Values
-
KEY_ATTRIBUTE
public static final java.lang.String KEY_ATTRIBUTE
Deprecated.- See Also:
- Constant Field Values
-
VALUE_ATTRIBUTE
public static final java.lang.String VALUE_ATTRIBUTE
Deprecated.- See Also:
- Constant Field Values
-
FILE_ATTRIBUTE
public static final java.lang.String FILE_ATTRIBUTE
Deprecated.- See Also:
- Constant Field Values
-
CLASS_ATTRIBUTE
public static final java.lang.String CLASS_ATTRIBUTE
Deprecated.- See Also:
- Constant Field Values
-
PATTERN_ATTRIBUTE
public static final java.lang.String PATTERN_ATTRIBUTE
Deprecated.- See Also:
- Constant Field Values
-
SCOPE_ATTRIBUTE
public static final java.lang.String SCOPE_ATTRIBUTE
Deprecated.- See Also:
- Constant Field Values
-
ACTION_CLASS_ATTRIBUTE
public static final java.lang.String ACTION_CLASS_ATTRIBUTE
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
begin
public abstract void begin(InterpretationContext ic, java.lang.String name, org.xml.sax.Attributes attributes) throws ActionException
Deprecated.Called when the parser encounters an element matching aPattern
.- Throws:
ActionException
-
body
public void body(InterpretationContext ic, java.lang.String body) throws ActionException
Deprecated.Called to pass the body (as text) contained within an element.- Parameters:
ic
-body
-- Throws:
ActionException
-
end
public abstract void end(InterpretationContext ic, java.lang.String name) throws ActionException
Deprecated.- Throws:
ActionException
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-