Class RiskGate
java.lang.Object
org.jenkinsci.plugins.DependencyCheck.model.RiskGate
- All Implemented Interfaces:
Serializable
Ported from the Dependency-Track Jenkins plugin.
- Since:
- 5.0.0
- Author:
- Steve Springett (steve.springett@owasp.org)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(SeverityDistribution previousDistribution, SeverityDistribution currentDistribution) Evaluates if the current results meet or exceed the defined threshold.
-
Constructor Details
-
RiskGate
-
-
Method Details
-
evaluate
public Result evaluate(SeverityDistribution previousDistribution, SeverityDistribution currentDistribution) Evaluates if the current results meet or exceed the defined threshold.- Parameters:
previousDistribution
- previous severity distribution from which comparecurrentDistribution
- current severity distribution- Returns:
- a Result
-