Class IfAction
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.joran.action.Action
-
- ch.qos.logback.core.joran.conditional.IfAction
-
- All Implemented Interfaces:
ContextAware
@Deprecated(since="2022-01-27") public class IfAction extends Action
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MISSING_JANINO_MSG
Deprecated.static java.lang.String
MISSING_JANINO_SEE
Deprecated.-
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
-
-
Constructor Summary
Constructors Constructor Description IfAction()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
begin(InterpretationContext ic, java.lang.String name, org.xml.sax.Attributes attributes)
Deprecated.Called when the parser encounters an element matching aPattern
.void
end(InterpretationContext ic, java.lang.String name)
Deprecated.boolean
isActive()
Deprecated.void
setElseSaxEventList(java.util.List<SaxEvent> elseSaxEventList)
Deprecated.void
setThenSaxEventList(java.util.List<SaxEvent> thenSaxEventList)
Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Field Detail
-
MISSING_JANINO_MSG
public static final java.lang.String MISSING_JANINO_MSG
Deprecated.- See Also:
- Constant Field Values
-
MISSING_JANINO_SEE
public static final java.lang.String MISSING_JANINO_SEE
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
begin
public void begin(InterpretationContext ic, java.lang.String name, org.xml.sax.Attributes attributes) throws ActionException
Deprecated.Description copied from class:Action
Called when the parser encounters an element matching aPattern
.- Specified by:
begin
in classAction
- Throws:
ActionException
-
end
public void end(InterpretationContext ic, java.lang.String name) throws ActionException
Deprecated.- Specified by:
end
in classAction
- Throws:
ActionException
-
setThenSaxEventList
public void setThenSaxEventList(java.util.List<SaxEvent> thenSaxEventList)
Deprecated.
-
setElseSaxEventList
public void setElseSaxEventList(java.util.List<SaxEvent> elseSaxEventList)
Deprecated.
-
isActive
public boolean isActive()
Deprecated.
-
-