Uses of Class
net.sourceforge.pmd.RuleSetFactory
-
Packages that use RuleSetFactory Package Description net.sourceforge.pmd This is the PMD programming mistake detector.net.sourceforge.pmd.processor -
-
Uses of RuleSetFactory in net.sourceforge.pmd
Methods in net.sourceforge.pmd that return RuleSetFactory Modifier and Type Method Description static RuleSetFactory
RulesetsFactoryUtils. createFactory(ClassLoader classLoader, RulePriority minimumPriority, boolean warnDeprecated, boolean enableCompatibility)
Returns a ruleset factory which uses the providedClassLoader
to resolve resource references.static RuleSetFactory
RulesetsFactoryUtils. createFactory(PMDConfiguration configuration)
Returns a ruleset factory which uses the classloader for PMD classes to resolve resource references.static RuleSetFactory
RulesetsFactoryUtils. createFactory(PMDConfiguration configuration, ClassLoader classLoader)
Returns a ruleset factory which uses the providedClassLoader
to resolve resource references.static RuleSetFactory
RulesetsFactoryUtils. createFactory(RulePriority minimumPriority, boolean warnDeprecated, boolean enableCompatibility)
Returns a ruleset factory which uses the classloader for PMD classes to resolve resource references.static RuleSetFactory
RulesetsFactoryUtils. defaultFactory()
Returns a ruleset factory with default parameters.static RuleSetFactory
RulesetsFactoryUtils. getRulesetFactory(PMDConfiguration configuration, ResourceLoader resourceLoader)
Methods in net.sourceforge.pmd with parameters of type RuleSetFactory Modifier and Type Method Description static RuleSets
RulesetsFactoryUtils. getRuleSets(String rulesets, RuleSetFactory factory)
Creates a new rulesets with the given string.static RuleSets
RulesetsFactoryUtils. getRuleSetsWithBenchmark(String rulesets, RuleSetFactory factory)
Deprecated.Is internal APIstatic void
PMD. processFiles(PMDConfiguration configuration, RuleSetFactory ruleSetFactory, List<DataSource> files, RuleContext ctx, List<Renderer> renderers)
Run PMD on a list of files using multiple threads - if more than one is availableConstructors in net.sourceforge.pmd with parameters of type RuleSetFactory Constructor Description RuleSetFactory(RuleSetFactory factory, boolean warnDeprecated)
Constructor copying all configuration from another factory. -
Uses of RuleSetFactory in net.sourceforge.pmd.processor
Methods in net.sourceforge.pmd.processor with parameters of type RuleSetFactory Modifier and Type Method Description protected RuleSets
AbstractPMDProcessor. createRuleSets(RuleSetFactory factory, Report report)
Create instances for each rule defined in the ruleset(s) in the configuration.void
AbstractPMDProcessor. processFiles(RuleSetFactory ruleSetFactory, List<DataSource> files, RuleContext ctx, List<Renderer> renderers)
-