Uses of Class
net.sourceforge.pmd.lang.rule.RuleSet
-
Packages that use RuleSet Package Description net.sourceforge.pmd This is the PMD programming mistake detector.net.sourceforge.pmd.lang.rule -
-
Uses of RuleSet in net.sourceforge.pmd
Methods in net.sourceforge.pmd that return types with arguments of type RuleSet Modifier and Type Method Description List<RuleSet>
PmdAnalysis. getRulesets()
Returns an unmodifiable view of the ruleset list.Methods in net.sourceforge.pmd with parameters of type RuleSet Modifier and Type Method Description void
PmdAnalysis. addRuleSet(RuleSet ruleSet)
Add a new ruleset.Method parameters in net.sourceforge.pmd with type arguments of type RuleSet Modifier and Type Method Description void
PmdAnalysis. addRuleSets(Collection<RuleSet> ruleSets)
Add several rulesets at once. -
Uses of RuleSet in net.sourceforge.pmd.lang.rule
Methods in net.sourceforge.pmd.lang.rule that return RuleSet Modifier and Type Method Description static RuleSet
RuleSet. copy(RuleSet original)
Creates a copy of the given ruleset.static RuleSet
RuleSet. create(String name, String description, String fileName, Collection<Pattern> excludePatterns, Collection<Pattern> includePatterns, Iterable<? extends Rule> rules)
Creates a new ruleset with the given metadata such as name, description, fileName, exclude/include patterns are used.static RuleSet
RuleSet. forSingleRule(Rule rule)
Creates a new ruleset containing a single rule.RuleSet
RuleSetLoader. loadFromResource(String rulesetPath)
Parses and returns a ruleset from its location.RuleSet
RuleSetLoader. loadFromString(String filename, String rulesetXmlContent)
Parses and returns a ruleset from string content.Methods in net.sourceforge.pmd.lang.rule that return types with arguments of type RuleSet Modifier and Type Method Description List<RuleSet>
RuleSetLoader. getStandardRuleSets()
Returns an Iterator of RuleSet objects loaded from descriptions from the "categories.properties" resource for each language.List<RuleSet>
RuleSetLoader. loadFromResources(String first, String... rest)
Parses several resources into a list of rulesets.List<RuleSet>
RuleSetLoader. loadFromResources(Collection<String> paths)
Parses several resources into a list of rulesets.static List<RuleSet>
InternalApiBridge. loadRuleSetsWithoutException(RuleSetLoader ruleSetLoader, List<String> rulesetPaths)
Methods in net.sourceforge.pmd.lang.rule with parameters of type RuleSet Modifier and Type Method Description static RuleSet
RuleSet. copy(RuleSet original)
Creates a copy of the given ruleset.static boolean
InternalApiBridge. ruleSetApplies(RuleSet ruleSet, FileId fileId)
void
RuleSetWriter. write(RuleSet ruleSet)
Constructors in net.sourceforge.pmd.lang.rule with parameters of type RuleSet Constructor Description RuleSet(RuleSet rs)
-