Top Constructors Methods
ch.qos.logback.core.model.processor.conditional

public Class ThenModelHandler

extends ModelHandlerBase
Class Inheritance
Imports
ch.qos.logback.core.Context, ch.qos.logback.core.model.Model, ch.qos.logback.core.model.conditional.IfModel, .IfModel.BranchState, .ThenModel, ch.qos.logback.core.model.processor.ModelHandlerBase, .ModelHandlerException, .ModelInterpretationContext

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Class<ThenModel>
getSupportedModelClass()

Overrides ch.qos.logback.core.model.processor.ModelHandlerBase.getSupportedModelClass.

Subclasses should return the subclass of Model that they expect to handle.
public void
public static ModelHandlerBase
Inherited from ch.qos.logback.core.model.processor.ModelHandlerBase:
isSupportedModelTypepostHandletoString

Constructor Detail

ThenModelHandlerback to summary
public ThenModelHandler(Context context)

Method Detail

getSupportedModelClassback to summary
protected Class<ThenModel> getSupportedModelClass()

Overrides ch.qos.logback.core.model.processor.ModelHandlerBase.getSupportedModelClass.

Doc from ch.qos.logback.core.model.processor.ModelHandlerBase.getSupportedModelClass.

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.

Returns:Class<ThenModel>

supported model class

Annotations
@Override
handleback to summary
public void handle(ModelInterpretationContext mic, Model model) throws ModelHandlerException

Implements abstract ch.qos.logback.core.model.processor.ModelHandlerBase.handle.

Annotations
@Override
makeInstanceback to summary
public static ModelHandlerBase makeInstance(Context context, ModelInterpretationContext ic)