Uses of Class
net.sourceforge.pmd.PMDConfiguration
-
Packages that use PMDConfiguration Package Description net.sourceforge.pmd This is the PMD programming mistake detector.net.sourceforge.pmd.cli net.sourceforge.pmd.processor -
-
Uses of PMDConfiguration in net.sourceforge.pmd
Fields in net.sourceforge.pmd declared as PMDConfiguration Modifier and Type Field Description protected PMDConfiguration
PMD. configuration
Contains the configuration with which this PMD instance has been created.Methods in net.sourceforge.pmd that return PMDConfiguration Modifier and Type Method Description PMDConfiguration
PMD. getConfiguration()
Deprecated.Don't create a PMD instance just to create aPMDConfiguration
Methods in net.sourceforge.pmd with parameters of type PMDConfiguration Modifier and Type Method Description static RuleSetFactory
RulesetsFactoryUtils. createFactory(PMDConfiguration configuration)
Deprecated.static RuleSetFactory
RulesetsFactoryUtils. createFactory(PMDConfiguration configuration, ClassLoader classLoader)
Deprecated.Use aRuleSetLoader
static int
PMD. doPMD(PMDConfiguration configuration)
Deprecated.static RuleSetLoader
RuleSetLoader. fromPmdConfig(PMDConfiguration configuration)
Configure a new ruleset factory builder according to the parameters of the given PMD configuration.static List<DataSource>
PMD. getApplicableFiles(PMDConfiguration configuration, Set<Language> languages)
Determines all the files, that should be analyzed by PMD.static RuleSetFactory
RulesetsFactoryUtils. getRulesetFactory(PMDConfiguration configuration, ResourceLoader resourceLoader)
Deprecated.Use aRuleSetLoader
static Parser
PMD. parserFor(LanguageVersion languageVersion, PMDConfiguration configuration)
Deprecated.This is internalstatic Report
PMD. processFiles(PMDConfiguration configuration, List<RuleSet> rulesets, Collection<? extends DataSource> files, List<Renderer> renderers)
Run PMD using the given configuration.static void
PMD. processFiles(PMDConfiguration configuration, RuleSetFactory ruleSetFactory, List<DataSource> files, RuleContext ctx, List<Renderer> renderers)
Deprecated.UsePMD.processFiles(PMDConfiguration, List, Collection, List)
so as not to depend onRuleSetFactory
.static PMD.StatusCode
PMD. runPmd(PMDConfiguration configuration)
Execute PMD from a configuration.Constructors in net.sourceforge.pmd with parameters of type PMDConfiguration Constructor Description PMD(PMDConfiguration configuration)
Deprecated.Just use the static methods, and maintain yourPMDConfiguration
separately.SourceCodeProcessor(PMDConfiguration configuration)
Deprecated. -
Uses of PMDConfiguration in net.sourceforge.pmd.cli
Methods in net.sourceforge.pmd.cli that return PMDConfiguration Modifier and Type Method Description PMDConfiguration
PMDParameters. toConfiguration()
Deprecated.Converts these parameters into a configuration.PMDConfiguration
PmdParametersParseResult. toConfiguration()
Returns the resulting configuration if parsing succeeded and neitherPmdParametersParseResult.isHelp()
norPmdParametersParseResult.isVersion()
is requested.static PMDConfiguration
PMDParameters. transformParametersIntoConfiguration(PMDParameters params)
Deprecated.To be removed in 7.0.0. -
Uses of PMDConfiguration in net.sourceforge.pmd.processor
Fields in net.sourceforge.pmd.processor declared as PMDConfiguration Modifier and Type Field Description protected PMDConfiguration
AbstractPMDProcessor. configuration
Deprecated.Constructors in net.sourceforge.pmd.processor with parameters of type PMDConfiguration Constructor Description AbstractPMDProcessor(PMDConfiguration configuration)
Deprecated.MonoThreadProcessor(PMDConfiguration configuration)
Deprecated.MultiThreadProcessor(PMDConfiguration configuration)
Deprecated.
-