Class ReceiverAction
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.action.Action
ch.qos.logback.core.joran.action.BaseModelAction
ch.qos.logback.classic.joran.action.ReceiverAction
- All Implemented Interfaces:
ContextAware
A Joran
Action for a SocketReceiver configuration.- Author:
- Carl Harris, Ceki Gülcü
-
Field Summary
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_ATTRIBUTEFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ModelbuildCurrentModel(SaxEventInterpretationContext interpretationContext, String name, Attributes attributes) protected booleanvalidPreconditions(SaxEventInterpretationContext seic, String name, Attributes attributes) Validate preconditions of this action.Methods inherited from class ch.qos.logback.core.joran.action.BaseModelAction
begin, body, endMethods inherited from class ch.qos.logback.core.joran.action.Action
atLine, getColumnNumber, getLineColStr, getLineNumber, nearLine, toStringMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
ReceiverAction
public ReceiverAction()
-
-
Method Details
-
buildCurrentModel
protected Model buildCurrentModel(SaxEventInterpretationContext interpretationContext, String name, Attributes attributes) - Specified by:
buildCurrentModelin classBaseModelAction
-
validPreconditions
protected boolean validPreconditions(SaxEventInterpretationContext seic, String name, Attributes attributes) Description copied from class:BaseModelActionValidate preconditions of this action. By default, true is returned. Subclasses should override appropriately.- Overrides:
validPreconditionsin classBaseModelAction- Returns:
-