public class FixedFindBugsWarningsRule extends AbstractFindBugsWarningsRule
EMPTY_RESULT, priority
Constructor and Description |
---|
FixedFindBugsWarningsRule(hudson.plugins.analysis.util.model.Priority priority,
int pointsForEachFixedWarning) |
Modifier and Type | Method and Description |
---|---|
RuleResult<?> |
aggregate(Collection<RuleResult<Integer>> results)
Aggregates several rule results calculated by the same rule into one.
|
RuleResult<Integer> |
evaluate(hudson.model.AbstractBuild<?,?> build)
Evaluate the build and return the points for it
|
protected RuleResult<Integer> |
evaluate(int previousAnnotations,
int currentAnnotations) |
String |
getName()
Returns the name of the rule
|
evaluate, getNumberOfAnnotations, hasNoErrors
public FixedFindBugsWarningsRule(hudson.plugins.analysis.util.model.Priority priority, int pointsForEachFixedWarning)
protected RuleResult<Integer> evaluate(int previousAnnotations, int currentAnnotations)
evaluate
in class AbstractFindBugsWarningsRule
public RuleResult<?> aggregate(Collection<RuleResult<Integer>> results)
AggregatableRule
public RuleResult<Integer> evaluate(hudson.model.AbstractBuild<?,?> build)
Rule
build
- build to calculate points forCopyright © 2004-2015. All Rights Reserved.