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 RuleSetRuleSetFactory. createNewRuleSet(java.lang.String name, java.lang.String description, java.lang.String fileName, java.util.Collection<java.lang.String> excludePatterns, java.util.Collection<java.lang.String> includePatterns, java.util.Collection<Rule> rules)Creates a new ruleset with the given metadata such as name, description, fileName, exclude/include patterns are used.RuleSetRuleSetFactory. createRuleSet(java.lang.String referenceString)Create a RuleSet from a RuleSet reference ID string.RuleSetRuleSetFactory. createRuleSet(RuleSetReferenceId ruleSetReferenceId)Create a RuleSet from a RuleSetReferenceId.RuleSetRuleSetFactory. createRuleSetCopy(RuleSet original)Creates a copy of the given ruleset.RuleSetRuleSetFactory. createSingleRuleRuleSet(Rule rule)Creates a new RuleSet for a single ruleRuleSet[]RuleSets. getAllRuleSets()Get all the RuleSets.Methods in net.sourceforge.pmd that return types with arguments of type RuleSet Modifier and Type Method Description java.util.Iterator<RuleSet>RuleSetFactory. getRegisteredRuleSets()Returns an Iterator of RuleSet objects loaded from descriptions from the "categories.properties" resource for each Language with Rule support.java.util.Iterator<RuleSet>RuleSets. getRuleSetsIterator()Methods in net.sourceforge.pmd with parameters of type RuleSet Modifier and Type Method Description voidRuleChain. add(RuleSet ruleSet)Add all Rules from the given RuleSet which want to participate in the RuleChain.voidRuleSets. addRuleSet(RuleSet ruleSet)Add a ruleset for a language.RuleSetRuleSetFactory. createRuleSetCopy(RuleSet original)Creates a copy of the given ruleset.voidRuleSetWriter. 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 java.util.Map<RuleSet,java.util.List<Rule>>AbstractRuleChainVisitor. ruleSetRulesThese 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 voidAbstractRuleChainVisitor. add(RuleSet ruleSet, Rule rule)voidRuleChainVisitor. add(RuleSet ruleSet, Rule rule)Add the given rule to the visitor.
-