Class QualityGateResult

java.lang.Object
io.jenkins.plugins.util.QualityGateResult
All Implemented Interfaces:
Serializable

public class QualityGateResult extends Object implements Serializable
Result of a quality gate evaluation. Aggregates the individual results of the quality gates into an overall status.
Author:
Ullrich Hafner
See Also:
  • Constructor Details

  • Method Details

    • add

      public void add(QualityGate qualityGate, QualityGateStatus actualStatus, String actualValue)
      Adds another quality gate result to the aggregated result.
      Parameters:
      qualityGate - the quality gate that has been evaluated
      actualStatus - the status of the quality gate
      actualValue - the value that has been evaluated against the quality gate threshold
    • getResultItems

    • getOverallStatus

      public QualityGateStatus getOverallStatus()
    • isSuccessful

      public boolean isSuccessful()
    • isInactive

      public boolean isInactive()
    • getMessages

      public Collection<String> getMessages()
    • toString

      public String toString()
      Overrides:
      toString in class Object