Package | Description |
---|---|
net.sourceforge.pmd |
This is the PMD programming mistake detector.
|
net.sourceforge.pmd.lang.rule |
Modifier and Type | Method and 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(RuleSetReferenceId ruleSetReferenceId)
Create a RuleSet from a RuleSetReferenceId.
|
RuleSet |
RuleSetFactory.createRuleSet(String referenceString)
Create a RuleSet from a RuleSet reference ID string.
|
RuleSet |
RuleSetFactory.createRuleSetCopy(RuleSet original)
Creates a copy of the given ruleset.
|
RuleSet |
RuleSetFactory.createSingleRuleRuleSet(Rule rule)
Creates a new RuleSet for a single rule
|
RuleSet[] |
RuleSets.getAllRuleSets()
Get all the RuleSets.
|
Modifier and Type | Method and Description |
---|---|
Iterator<RuleSet> |
RuleSetFactory.getRegisteredRuleSets()
Returns an Iterator of RuleSet objects loaded from descriptions from the
"rulesets.properties" resource for each Language with Rule support.
|
Iterator<RuleSet> |
RuleSets.getRuleSetsIterator() |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
RuleSets(RuleSet ruleSet)
Public constructor.
|
Modifier and Type | Field and Description |
---|---|
protected Map<RuleSet,List<Rule>> |
AbstractRuleChainVisitor.ruleSetRules
These are all the rules participating in the RuleChain, grouped by
RuleSet.
|
Modifier and Type | Method and Description |
---|---|
void |
RuleChainVisitor.add(RuleSet ruleSet,
Rule rule)
Add the given rule to the visitor.
|
void |
AbstractRuleChainVisitor.add(RuleSet ruleSet,
Rule rule) |
Copyright © 2002–2017 PMD. All rights reserved.