Class ConfigurationAction
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.joran.action.Action
-
- ch.qos.logback.classic.joran.action.ConfigurationAction
-
- All Implemented Interfaces:
ContextAware
public class ConfigurationAction extends Action
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String
DEBUG_SYSTEM_PROPERTY_KEY
(package private) static java.lang.String
INTERNAL_DEBUG_ATTR
(package private) static java.lang.String
PACKAGING_DATA_ATTR
(package private) static java.lang.String
SCAN_ATTR
(package private) static java.lang.String
SCAN_PERIOD_ATTR
(package private) long
threshold
-
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 ConfigurationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
begin(InterpretationContext ic, java.lang.String name, org.xml.sax.Attributes attributes)
Called when the parser encounters an element matching aPattern
.void
end(InterpretationContext ec, java.lang.String name)
private Duration
getDuration(java.lang.String scanAttrib, java.lang.String scanPeriodAttrib)
(package private) java.lang.String
getSystemProperty(java.lang.String name)
(package private) void
processScanAttrib(InterpretationContext ic, org.xml.sax.Attributes attributes)
-
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
-
-
-
-
Field Detail
-
INTERNAL_DEBUG_ATTR
static final java.lang.String INTERNAL_DEBUG_ATTR
- See Also:
- Constant Field Values
-
PACKAGING_DATA_ATTR
static final java.lang.String PACKAGING_DATA_ATTR
- See Also:
- Constant Field Values
-
SCAN_ATTR
static final java.lang.String SCAN_ATTR
- See Also:
- Constant Field Values
-
SCAN_PERIOD_ATTR
static final java.lang.String SCAN_PERIOD_ATTR
- See Also:
- Constant Field Values
-
DEBUG_SYSTEM_PROPERTY_KEY
static final java.lang.String DEBUG_SYSTEM_PROPERTY_KEY
- See Also:
- Constant Field Values
-
threshold
long threshold
-
-
Method Detail
-
begin
public void begin(InterpretationContext ic, java.lang.String name, org.xml.sax.Attributes attributes)
Description copied from class:Action
Called when the parser encounters an element matching aPattern
.
-
getSystemProperty
java.lang.String getSystemProperty(java.lang.String name)
-
processScanAttrib
void processScanAttrib(InterpretationContext ic, org.xml.sax.Attributes attributes)
-
getDuration
private Duration getDuration(java.lang.String scanAttrib, java.lang.String scanPeriodAttrib)
-
end
public void end(InterpretationContext ec, java.lang.String name)
-
-