java.lang.Object
org.jenkinsci.plugins.DependencyCheck.model.RiskGate
All Implemented Interfaces:
Serializable

public class RiskGate extends Object implements Serializable
Ported from the Dependency-Track Jenkins plugin.
Since:
5.0.0
Author:
Steve Springett (steve.springett@owasp.org)
See Also:
  • Constructor Details

    • RiskGate

      public RiskGate(Thresholds thresholds)
  • 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 compare
      currentDistribution - current severity distribution
      Returns:
      a Result