Class EventEvaluatorModelHandler
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.model.processor.ModelHandlerBase
ch.qos.logback.core.model.processor.EventEvaluatorModelHandler
- All Implemented Interfaces:
ContextAware
-
Field Summary
Fields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<EventEvaluatorModel> Subclasses should return the subclass of Model that they expect to handle.voidhandle(ModelInterpretationContext intercon, Model model) static ModelHandlerBasemakeInstance(Context context, ModelInterpretationContext ic) voidpostHandle(ModelInterpretationContext intercon, Model model) Methods inherited from class ModelHandlerBase
isSupportedModelType, toStringMethods inherited from class ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
EventEvaluatorModelHandler
-
-
Method Details
-
makeInstance
-
getSupportedModelClass
Description copied from class:ModelHandlerBaseSubclasses 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:
getSupportedModelClassin classModelHandlerBase- Returns:
- supported model class
- See Also:
-
handle
- Specified by:
handlein classModelHandlerBase- Throws:
ModelHandlerException
-
postHandle
public void postHandle(ModelInterpretationContext intercon, Model model) throws ModelHandlerException - Overrides:
postHandlein classModelHandlerBase- Throws:
ModelHandlerException
-