Uses of Interface
com.puppycrawl.tools.checkstyle.api.Configuration
Packages that use Configuration
Package
Description
Contains the implementation of the Checkstyle framework.
Contains the core API to be used to implement checks.
-
Uses of Configuration in com.puppycrawl.tools.checkstyle
Classes in com.puppycrawl.tools.checkstyle that implement ConfigurationModifier and TypeClassDescriptionfinal classDefault implementation of the Configuration interface.Fields in com.puppycrawl.tools.checkstyle declared as ConfigurationModifier and TypeFieldDescriptionprivate final ConfigurationPropertyCacheFile.configConfiguration object.private ConfigurationConfigurationLoader.configurationThe Configuration that is being built.private static final Configuration[]DefaultConfiguration.EMPTY_CONFIGURATION_ARRAYConstant for optimization.Fields in com.puppycrawl.tools.checkstyle with type parameters of type ConfigurationModifier and TypeFieldDescriptionprivate final List<Configuration> DefaultConfiguration.childrenThe list of child Configurations.Methods in com.puppycrawl.tools.checkstyle that return ConfigurationModifier and TypeMethodDescriptionDefaultConfiguration.getChildren()private static ConfigurationMain.getTreeWalkerConfig(Configuration config) ReturnsTreeWalkermodule configuration.static ConfigurationConfigurationLoader.loadConfiguration(String config, PropertyResolver overridePropsResolver) Returns the module configurations in a specified file.static ConfigurationConfigurationLoader.loadConfiguration(String config, PropertyResolver overridePropsResolver, ConfigurationLoader.IgnoredModulesOptions ignoredModulesOptions) Returns the module configurations in a specified file.static ConfigurationConfigurationLoader.loadConfiguration(String config, PropertyResolver overridePropsResolver, ConfigurationLoader.IgnoredModulesOptions ignoredModulesOptions, ThreadModeSettings threadModeSettings) Returns the module configurations in a specified file.static ConfigurationConfigurationLoader.loadConfiguration(String config, PropertyResolver overridePropsResolver, ThreadModeSettings threadModeSettings) Returns the module configurations in a specified file.static ConfigurationConfigurationLoader.loadConfiguration(InputSource configSource, PropertyResolver overridePropsResolver, ConfigurationLoader.IgnoredModulesOptions ignoredModulesOptions) Returns the module configurations from a specified input source.static ConfigurationConfigurationLoader.loadConfiguration(InputSource configSource, PropertyResolver overridePropsResolver, ConfigurationLoader.IgnoredModulesOptions ignoredModulesOptions, ThreadModeSettings threadModeSettings) Returns the module configurations from a specified input source.Methods in com.puppycrawl.tools.checkstyle with parameters of type ConfigurationModifier and TypeMethodDescriptionvoidDefaultConfiguration.addChild(Configuration configuration) Makes a configuration a child of this configuration.private booleanConfigurationLoader.InternalLoader.containsAttribute(Configuration module, String attributeName) Util method to recheck attribute in module.private static ConfigurationMain.getTreeWalkerConfig(Configuration config) ReturnsTreeWalkermodule configuration.voidDefaultConfiguration.removeChild(Configuration configuration) Removes a child of this configuration.protected voidChecker.setupChild(Configuration childConf) Called by configure() for every child of this component's Configuration.voidTreeWalker.setupChild(Configuration childConf) Called by configure() for every child of this component's Configuration.Constructors in com.puppycrawl.tools.checkstyle with parameters of type ConfigurationModifierConstructorDescriptionPropertyCacheFile(Configuration config, String fileName) Creates a newPropertyCacheFileinstance. -
Uses of Configuration in com.puppycrawl.tools.checkstyle.api
Fields in com.puppycrawl.tools.checkstyle.api declared as ConfigurationModifier and TypeFieldDescriptionprivate ConfigurationAutomaticBean.configurationThe configuration of this bean.Methods in com.puppycrawl.tools.checkstyle.api that return ConfigurationModifier and TypeMethodDescriptionConfiguration.getChildren()The set of child configurations.protected final ConfigurationAutomaticBean.getConfiguration()Returns the configuration that was used to configure this component.Methods in com.puppycrawl.tools.checkstyle.api with parameters of type ConfigurationModifier and TypeMethodDescriptionfinal voidAutomaticBean.configure(Configuration config) Implements the Configurable interface using bean introspection.voidConfigurable.configure(Configuration configuration) Configures this component.protected voidAutomaticBean.setupChild(Configuration childConf) Called by configure() for every child of this component's Configuration.