Uses of Class
net.sourceforge.pmd.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 RuleSet Modifier and Type Method Description RuleSet
RuleSetFactory. createNewRuleSet(String name, String description, String fileName, Collection<String> excludePatterns, Collection<String> includePatterns, Collection<Rule> rules)
Creates a new ruleset with the given metadata such as name, description, fileName, exclude/include patterns are used.RuleSet
RuleSetFactory. createRuleSet(String referenceString)
Create a RuleSet from a RuleSet reference ID string.RuleSet
RuleSetFactory. createRuleSet(RuleSetReferenceId ruleSetReferenceId)
Create a RuleSet from a RuleSetReferenceId.RuleSet
RuleSetFactory. createRuleSetCopy(RuleSet original)
Creates a copy of the given ruleset.RuleSet
RuleSetFactory. createSingleRuleRuleSet(Rule rule)
Creates a new RuleSet containing a single rule.RuleSet[]
RuleSets. getAllRuleSets()
Get all the RuleSets.Methods in net.sourceforge.pmd that return types with arguments of type RuleSet Modifier and Type Method Description Iterator<RuleSet>
RuleSetFactory. getRegisteredRuleSets()
Returns an Iterator of RuleSet objects loaded from descriptions from the "categories.properties" resource for each Language with Rule support.Iterator<RuleSet>
RuleSets. getRuleSetsIterator()
Methods in net.sourceforge.pmd with parameters of type RuleSet Modifier and Type Method Description void
RuleChain. add(RuleSet ruleSet)
Add all Rules from the given RuleSet which want to participate in the RuleChain.void
RuleSets. addRuleSet(RuleSet ruleSet)
Add a ruleset for a language.RuleSet
RuleSetFactory. createRuleSetCopy(RuleSet original)
Creates a copy of the given ruleset.void
RuleSetWriter. write(RuleSet ruleSet)
Constructors in net.sourceforge.pmd with parameters of type RuleSet Constructor Description RuleSet(RuleSet rs)
RuleSets(RuleSet ruleSet)
Public constructor. -
Uses of RuleSet in net.sourceforge.pmd.lang.rule
Fields in net.sourceforge.pmd.lang.rule with type parameters of type RuleSet Modifier and Type Field Description protected Map<RuleSet,List<Rule>>
AbstractRuleChainVisitor. ruleSetRules
These are all the rules participating in the RuleChain, grouped by RuleSet.Methods in net.sourceforge.pmd.lang.rule with parameters of type RuleSet Modifier and Type Method Description void
AbstractRuleChainVisitor. add(RuleSet ruleSet, Rule rule)
void
RuleChainVisitor. add(RuleSet ruleSet, Rule rule)
Add the given rule to the visitor.
-