| 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 | Field and Description |
|---|---|
private Configuration |
PropertyCacheFile.config
Configuration object.
|
private Configuration |
ConfigurationLoader.configuration
The Configuration that is being built.
|
private static Configuration[] |
DefaultConfiguration.EMPTY_CONFIGURATION_ARRAY
Constant for optimization.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Configuration> |
DefaultConfiguration.children
The list of child Configurations.
|
| Modifier and Type | Method and Description |
|---|---|
Configuration[] |
DefaultConfiguration.getChildren() |
private static Configuration |
Main.getTreeWalkerConfig(Configuration config)
Returns
TreeWalker module configuration. |
static Configuration |
ConfigurationLoader.loadConfiguration(org.xml.sax.InputSource configSource,
PropertyResolver overridePropsResolver,
ConfigurationLoader.IgnoredModulesOptions ignoredModulesOptions)
Returns the module configurations from a specified input source.
|
static Configuration |
ConfigurationLoader.loadConfiguration(org.xml.sax.InputSource configSource,
PropertyResolver overridePropsResolver,
ConfigurationLoader.IgnoredModulesOptions ignoredModulesOptions,
ThreadModeSettings threadModeSettings)
Returns the module configurations from a specified input source.
|
static Configuration |
ConfigurationLoader.loadConfiguration(java.lang.String config,
PropertyResolver overridePropsResolver)
Returns the module configurations in a specified file.
|
static Configuration |
ConfigurationLoader.loadConfiguration(java.lang.String config,
PropertyResolver overridePropsResolver,
ConfigurationLoader.IgnoredModulesOptions ignoredModulesOptions)
Returns the module configurations in a specified file.
|
static Configuration |
ConfigurationLoader.loadConfiguration(java.lang.String config,
PropertyResolver overridePropsResolver,
ConfigurationLoader.IgnoredModulesOptions ignoredModulesOptions,
ThreadModeSettings threadModeSettings)
Returns the module configurations in a specified file.
|
static Configuration |
ConfigurationLoader.loadConfiguration(java.lang.String config,
PropertyResolver overridePropsResolver,
ThreadModeSettings threadModeSettings)
Returns the module configurations in a specified file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultConfiguration.addChild(Configuration configuration)
Makes a configuration a child of this configuration.
|
private boolean |
ConfigurationLoader.InternalLoader.containsAttribute(Configuration module,
java.lang.String attributeName)
Util method to recheck attribute in module.
|
private static Configuration |
Main.getTreeWalkerConfig(Configuration config)
Returns
TreeWalker module configuration. |
void |
DefaultConfiguration.removeChild(Configuration configuration)
Removes a child of this configuration.
|
protected void |
Checker.setupChild(Configuration childConf)
Called by configure() for every child of this component's Configuration.
|
void |
TreeWalker.setupChild(Configuration childConf)
Called by configure() for every child of this component's Configuration.
|
| Constructor and Description |
|---|
PropertyCacheFile(Configuration config,
java.lang.String fileName)
Creates a new
PropertyCacheFile instance. |
| Modifier and Type | Field and Description |
|---|---|
private Configuration |
AutomaticBean.configuration
The configuration of this bean.
|
| Modifier and Type | Method and Description |
|---|---|
Configuration[] |
Configuration.getChildren()
The set of child configurations.
|
protected Configuration |
AutomaticBean.getConfiguration()
Returns the configuration that was used to configure this component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Configurable.configure(Configuration configuration)
Configures this component.
|
void |
AutomaticBean.configure(Configuration config)
Implements the Configurable interface using bean introspection.
|
protected void |
AutomaticBean.setupChild(Configuration childConf)
Called by configure() for every child of this component's Configuration.
|
Copyright © 2001-2022. All Rights Reserved.