Top Description Fields Constructors Methods
ch.qos.logback.core.joran.action

public Class ShutdownHookAction

extends BaseModelAction
Class Inheritance
Imports
org.xml.sax.Attributes, ch.qos.logback.core.joran.spi.SaxEventInterpretationContext, ch.qos.logback.core.model.Model, .ShutdownHookModel

Action which builds ShutdownHookModel based on <shutdownHook> elements found in configuration files.
Authors
Mike Reinhold, Ceki Gülcü

Field Summary

Inherited from ch.qos.logback.core.joran.action.BaseModelAction:
currentModelinErrorparentModel

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Model
protected boolean
validPreconditions(SaxEventInterpretationContext interpretationContext, String name, Attributes attributes)

Overrides ch.qos.logback.core.joran.action.BaseModelAction.validPreconditions.

Validate preconditions of this action.
Inherited from ch.qos.logback.core.joran.action.BaseModelAction:
beginbodyend

Constructor Detail

ShutdownHookActionback to summary
public ShutdownHookAction()

Method Detail

buildCurrentModelback to summary
protected Model buildCurrentModel(SaxEventInterpretationContext interpretationContext, String name, Attributes attributes)

Implements abstract ch.qos.logback.core.joran.action.BaseModelAction.buildCurrentModel.

Annotations
@Override
validPreconditionsback to summary
protected boolean validPreconditions(SaxEventInterpretationContext interpretationContext, String name, Attributes attributes)

Overrides ch.qos.logback.core.joran.action.BaseModelAction.validPreconditions.

Doc from ch.qos.logback.core.joran.action.BaseModelAction.validPreconditions.

Validate preconditions of this action. By default, true is returned. Subclasses should override appropriately.

Annotations
@Override