public abstract class AbstractFindBugsWarningsRule extends Object implements AggregatableRule<Integer>
Modifier and Type | Field and Description |
---|---|
protected static RuleResult<Integer> |
EMPTY_RESULT |
protected hudson.plugins.analysis.util.model.Priority |
priority |
Modifier | Constructor and Description |
---|---|
protected |
AbstractFindBugsWarningsRule(hudson.plugins.analysis.util.model.Priority priority) |
Modifier and Type | Method and Description |
---|---|
RuleResult<Integer> |
evaluate(hudson.model.AbstractBuild<?,?> previousBuild,
hudson.model.AbstractBuild<?,?> build)
Evaluates the rule for the current build compared to a previous build.
|
protected abstract RuleResult<Integer> |
evaluate(int previousAnnotations,
int currentAnnotations) |
protected int |
getNumberOfAnnotations(List<hudson.plugins.findbugs.FindBugsResultAction> list) |
protected boolean |
hasNoErrors(List<hudson.plugins.findbugs.FindBugsResultAction> actions) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
aggregate, evaluate
protected static final RuleResult<Integer> EMPTY_RESULT
protected hudson.plugins.analysis.util.model.Priority priority
protected AbstractFindBugsWarningsRule(hudson.plugins.analysis.util.model.Priority priority)
protected boolean hasNoErrors(List<hudson.plugins.findbugs.FindBugsResultAction> actions)
protected int getNumberOfAnnotations(List<hudson.plugins.findbugs.FindBugsResultAction> list)
public final RuleResult<Integer> evaluate(hudson.model.AbstractBuild<?,?> previousBuild, hudson.model.AbstractBuild<?,?> build)
AggregatableRule
evaluate
in interface AggregatableRule<Integer>
previousBuild
- the previous build with usable results (may be null!)build
- the current build (may be null!)protected abstract RuleResult<Integer> evaluate(int previousAnnotations, int currentAnnotations)
Copyright © 2004-2015. All Rights Reserved.