Package | Description |
---|---|
net.sourceforge.pmd |
This is the PMD programming mistake detector.
|
net.sourceforge.pmd.cli | |
net.sourceforge.pmd.lang.rule |
Modifier and Type | Method | Description |
---|---|---|
RulePriority |
PMDConfiguration.getMinimumPriority() |
Get the minimum priority threshold when loading Rules from RuleSets.
|
RulePriority |
Rule.getPriority() |
Get the priority of this Rule.
|
static RulePriority |
RulePriority.valueOf(int priority) |
Get the priority which corresponds to the given number as returned by
getPriority() . |
static RulePriority |
RulePriority.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RulePriority[] |
RulePriority.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PMDConfiguration.setMinimumPriority(RulePriority minimumPriority) |
Set the minimum priority threshold when loading Rules from RuleSets.
|
void |
Rule.setPriority(RulePriority priority) |
Set the priority of this Rule.
|
Constructor | Description |
---|---|
RuleSetFactory(java.lang.ClassLoader classLoader,
RulePriority minimumPriority,
boolean warnDeprecated,
boolean enableCompatibility) |
Deprecated.
Use
RuleSetFactory(ResourceLoader, RulePriority, boolean, boolean) with
ResourceLoader instead of a ClassLoader . |
RuleSetFactory(ResourceLoader resourceLoader,
RulePriority minimumPriority,
boolean warnDeprecated,
boolean enableCompatibility) |
Modifier and Type | Method | Description |
---|---|---|
RulePriority |
PMDParameters.RulePriorityConverter.convert(java.lang.String value) |
Deprecated.
|
RulePriority |
PMDParameters.getMinimumPriority() |
Modifier and Type | Method | Description |
---|---|---|
RulePriority |
RuleReference.getOverriddenPriority() |
|
RulePriority |
AbstractDelegateRule.getPriority() |
|
RulePriority |
AbstractRule.getPriority() |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractDelegateRule.setPriority(RulePriority priority) |
|
void |
AbstractRule.setPriority(RulePriority priority) |
|
void |
RuleReference.setPriority(RulePriority priority) |
Constructor | Description |
---|---|
MockRule(java.lang.String name,
java.lang.String description,
java.lang.String message,
java.lang.String ruleSetName,
RulePriority priority) |
Copyright © 2002–2018 PMD. All rights reserved.