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.
|
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() |
static Configuration |
ConfigurationLoader.loadConfiguration(org.xml.sax.InputSource configSource,
PropertyResolver overridePropsResolver,
boolean omitIgnoredModules)
Returns the module configurations from a specified input source.
|
static Configuration |
ConfigurationLoader.loadConfiguration(java.io.InputStream configStream,
PropertyResolver overridePropsResolver,
boolean omitIgnoredModules)
Deprecated.
As this method does not provide a valid system ID,
preventing resolution of external entities, a
version using an InputSource
should be used instead |
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,
boolean omitIgnoredModules)
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.
|
void |
DefaultConfiguration.removeChild(Configuration configuration)
Removes a child of this configuration.
|
void |
TreeWalker.setupChild(Configuration childConf) |
protected void |
Checker.setupChild(Configuration childConf) |
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.
|