Package | Description |
---|---|
com.puppycrawl.tools.checkstyle |
Contains the implementation of the Checkstyle framework.
|
com.puppycrawl.tools.checkstyle.api |
Contains the core API to be used to implement checks.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultConfiguration
Default implementation of the Configuration interface.
|
Modifier and Type | Method and Description |
---|---|
Configuration[] |
DefaultConfiguration.getChildren()
The set of child configurations.
|
Configuration[] |
DefaultConfiguration.getChildren()
The set of child configurations.
|
static Configuration |
ConfigurationLoader.loadConfiguration(InputStream aConfigStream,
PropertyResolver aOverridePropsResolver,
boolean aOmitIgnoredModules)
Returns the module configurations from a specified input stream.
|
static Configuration |
ConfigurationLoader.loadConfiguration(InputStream aConfigStream,
PropertyResolver aOverridePropsResolver,
boolean aOmitIgnoredModules)
Returns the module configurations from a specified input stream.
|
static Configuration |
ConfigurationLoader.loadConfiguration(String aConfig,
PropertyResolver aOverridePropsResolver)
Returns the module configurations in a specified file.
|
static Configuration |
ConfigurationLoader.loadConfiguration(String aConfig,
PropertyResolver aOverridePropsResolver)
Returns the module configurations in a specified file.
|
static Configuration |
ConfigurationLoader.loadConfiguration(String aConfig,
PropertyResolver aOverridePropsResolver,
boolean aOmitIgnoredModules)
Returns the module configurations in a specified file.
|
static Configuration |
ConfigurationLoader.loadConfiguration(String aConfig,
PropertyResolver aOverridePropsResolver,
boolean aOmitIgnoredModules)
Returns the module configurations in a specified file.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultConfiguration.addChild(Configuration aConfiguration)
Makes a configuration a child of this configuration.
|
void |
DefaultConfiguration.addChild(Configuration aConfiguration)
Makes a configuration a child of this configuration.
|
void |
DefaultConfiguration.removeChild(Configuration aConfiguration)
Removes a child of this configuration.
|
void |
DefaultConfiguration.removeChild(Configuration aConfiguration)
Removes a child of this configuration.
|
protected void |
Checker.setupChild(Configuration aChildConf)
Instantiates, configures and registers a child AbstractFilter
or FileSetCheck
that is specified in the provided configuration.
|
void |
TreeWalker.setupChild(Configuration aChildConf)
Instantiates, configures and registers a Check that is specified
in the provided configuration.
|
protected void |
Checker.setupChild(Configuration aChildConf)
Instantiates, configures and registers a child AbstractFilter
or FileSetCheck
that is specified in the provided configuration.
|
void |
TreeWalker.setupChild(Configuration aChildConf)
Instantiates, configures and registers a Check that is specified
in the provided configuration.
|
Modifier and Type | Method and Description |
---|---|
Configuration[] |
Configuration.getChildren()
The set of child configurations.
|
Configuration[] |
Configuration.getChildren()
The set of child configurations.
|
protected Configuration |
AutomaticBean.getConfiguration()
Returns the configuration that was used to configure this component.
|
protected Configuration |
AutomaticBean.getConfiguration()
Returns the configuration that was used to configure this component.
|
Modifier and Type | Method and Description |
---|---|
void |
AutomaticBean.configure(Configuration aConfiguration)
Implements the Configurable interface using bean introspection.
|
void |
Configurable.configure(Configuration aConfiguration)
Configures this component.
|
void |
AutomaticBean.configure(Configuration aConfiguration)
Implements the Configurable interface using bean introspection.
|
void |
Configurable.configure(Configuration aConfiguration)
Configures this component.
|
protected void |
AutomaticBean.setupChild(Configuration aChildConf)
Called by configure() for every child of this component's Configuration.
|
protected void |
AutomaticBean.setupChild(Configuration aChildConf)
Called by configure() for every child of this component's Configuration.
|