|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.pmd.RulesetsFactoryUtils
public final class RulesetsFactoryUtils
| Method Summary | |
|---|---|
static RuleSetFactory |
getRulesetFactory(PMDConfiguration configuration)
|
static RuleSets |
getRuleSets(java.lang.String rulesets,
RuleSetFactory factory)
Creates a new rulesets with the given string. |
static RuleSets |
getRuleSetsWithBenchmark(java.lang.String rulesets,
RuleSetFactory factory)
See getRuleSets(String, RuleSetFactory). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RuleSets getRuleSets(java.lang.String rulesets,
RuleSetFactory factory)
rulesets - the string with the rulesets to loadfactory - the ruleset factory
java.lang.IllegalArgumentException - if rulesets is empty (means, no rules have been found) or if a
ruleset couldn't be found.
public static RuleSets getRuleSetsWithBenchmark(java.lang.String rulesets,
RuleSetFactory factory)
getRuleSets(String, RuleSetFactory). In addition, the loading of the rules
is benchmarked.
rulesets - the string with the rulesets to loadfactory - the ruleset factory
java.lang.IllegalArgumentException - if rulesets is empty (means, no rules have been found) or if a
ruleset couldn't be found.public static RuleSetFactory getRulesetFactory(PMDConfiguration configuration)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||