- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.model.processor.ModelHandlerBase
-
- ch.qos.logback.core.model.processor.FileCollisionAnalyser
-
- All Implemented Interfaces:
ContextAware
public class FileCollisionAnalyser extends ModelHandlerBase
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLLISION_DETECTEDstatic StringCOLLISION_MESSAGE-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description FileCollisionAnalyser(Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<AppenderModel>getSupportedModelClass()Subclasses should return the subclass of Model that they expect to handle.voidhandle(ModelInterpretationContext mic, Model model)-
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
-
-
-
-
Field Detail
-
COLLISION_DETECTED
public static final String COLLISION_DETECTED
- See Also:
- Constant Field Values
-
COLLISION_MESSAGE
public static final String COLLISION_MESSAGE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileCollisionAnalyser
public FileCollisionAnalyser(Context context)
-
-
Method Detail
-
getSupportedModelClass
protected Class<AppenderModel> 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:
ModelHandlerBase.isSupportedModelType(Model)
-
handle
public void handle(ModelInterpretationContext mic, Model model) throws ModelHandlerException
- Specified by:
handlein classModelHandlerBase- Throws:
ModelHandlerException
-
-