Package | Description |
---|---|
net.sourceforge.pmd |
This is the PMD programming mistake detector.
|
net.sourceforge.pmd.lang.rule |
Modifier and Type | Method and Description |
---|---|
static RuleSet |
RuleSet.createFor(java.lang.String name,
Rule... theRules)
A convenience constructor
|
RuleSet |
RuleSetFactory.createRuleSet(RuleSetReferenceId ruleSetReferenceId)
Create a RuleSet from a RuleSetReferenceId.
|
RuleSet |
RuleSetFactory.createRuleSet(java.lang.String referenceString)
Create a RuleSet from a RuleSet reference ID string.
|
RuleSet[] |
RuleSets.getAllRuleSets()
Get all the RuleSets.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<RuleSet> |
RuleSetFactory.getRegisteredRuleSets()
Returns an Iterator of RuleSet objects loaded from descriptions from the
"rulesets.properties" resource for each Language with Rule support.
|
java.util.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.
|
void |
RuleSet.addRuleSet(RuleSet ruleSet)
Add a whole RuleSet to this RuleSet
|
void |
RuleSet.addRuleSetByReference(RuleSet ruleSet,
boolean allRules)
Add all rules by reference from one RuleSet to this RuleSet.
|
void |
RuleSet.addRuleSetByReference(RuleSet ruleSet,
boolean allRules,
java.lang.String... excludes)
Add all rules by reference from one RuleSet to this RuleSet.
|
void |
RuleSetWriter.write(RuleSet ruleSet) |
Constructor and Description |
---|
RuleSets(RuleSet ruleSet)
Public constructor.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<RuleSet,java.util.List<Rule>> |
AbstractRuleChainVisitor.ruleSetRules
These are all the rules participating in the RuleChain, grouped by RuleSet.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractRuleChainVisitor.add(RuleSet ruleSet,
Rule rule) |
void |
RuleChainVisitor.add(RuleSet ruleSet,
Rule rule)
Add the given rule to the visitor.
|
Copyright © 2002-2014 InfoEther. All Rights Reserved.