java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.model.processor.ModelHandlerBase
ch.qos.logback.core.sift.NOPSiftModelHandler
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSubclasses should return the subclass of Model that they expect to handle.void
handle
(ModelInterpretationContext mic, Model model) static NOPSiftModelHandler
makeInstance
(Context context, ModelInterpretationContext ic) Methods inherited from class ch.qos.logback.core.model.processor.ModelHandlerBase
isSupportedModelType, postHandle, toString
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
NOPSiftModelHandler
-
-
Method Details
-
makeInstance
-
getSupportedModelClass
Description copied from class:ModelHandlerBase
Subclasses should return the subclass of Model that they expect to handle. The default implementation assumes that all Model classes are supported. This a very lax assumption which is usually not true.- Overrides:
getSupportedModelClass
in classModelHandlerBase
- Returns:
- supported model class
- See Also:
-
handle
- Specified by:
handle
in classModelHandlerBase
- Throws:
ModelHandlerException
-