com.puppycrawl.tools.checkstyle.api

Interface Contextualizable

Known Subinterfaces:
FileSetCheck
Known Implementing Classes:
AbstractFileSetCheck, AbstractViolationReporter, AutomaticBean, Check, Checker, DefaultLogger, SeverityMatchFilter, SuppressionCommentFilter, SuppressionFilter, TreeWalker, XMLLogger

public interface Contextualizable

A Component that needs context information from it's container to work. The container will create a Context object and pass it to this Contextualizable. Contextualization will occur before configuration. The general idea of Context/Contextualizable was taken from Jakarta's Avalon framework.
Author:
lkuehne

Method Summary

void
contextualize(Context aContext)
Sets the context for this Component.

Method Details

contextualize

public void contextualize(Context aContext)
            throws CheckstyleException
Sets the context for this Component.
Parameters:
aContext - the context.
Throws:
CheckstyleException - if there is a contextualization error.