Klasse CoverageQualityGate

java.lang.Object
hudson.model.AbstractDescribableImpl<io.jenkins.plugins.util.QualityGate>
io.jenkins.plugins.util.QualityGate
io.jenkins.plugins.coverage.metrics.steps.CoverageQualityGate
Alle implementierten Schnittstellen:
Describable<io.jenkins.plugins.util.QualityGate>, Serializable

public class CoverageQualityGate extends io.jenkins.plugins.util.QualityGate
Defines a quality gate based on a specific threshold of code coverage in the current build. After a build has been finished, a set of quality gates will be evaluated and the overall quality gate status will be reported in Jenkins UI.
Autor:
Johannes Walter
Siehe auch:
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Klasse
    Beschreibung
    static class 
    Descriptor of the CoverageQualityGate.

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen io.jenkins.plugins.util.QualityGate

    io.jenkins.plugins.util.QualityGate.QualityGateCriticality, io.jenkins.plugins.util.QualityGate.QualityGateDescriptor
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    CoverageQualityGate(edu.hm.hafner.coverage.Metric metric)
    Creates a new instance of CoverageQualityGate.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
     
    edu.hm.hafner.coverage.Metric
     
    Returns a human-readable name of the quality gate.
    final void
    Sets the baseline that will be used for the quality gate evaluation.

    Von Klasse geerbte Methoden io.jenkins.plugins.util.QualityGate

    getCriticality, getIntegerThreshold, getStatus, getThreshold, setCriticality, setIntegerThreshold, setThreshold, toString

    Von Klasse geerbte Methoden hudson.model.AbstractDescribableImpl

    getDescriptor

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Konstruktordetails

    • CoverageQualityGate

      @DataBoundConstructor public CoverageQualityGate(edu.hm.hafner.coverage.Metric metric)
      Creates a new instance of CoverageQualityGate.
      Parameter:
      metric - the metric to compare
  • Methodendetails

    • setBaseline

      @DataBoundSetter public final void setBaseline(Baseline baseline)
      Sets the baseline that will be used for the quality gate evaluation.
      Parameter:
      baseline - the baseline to use
    • getName

      public String getName()
      Returns a human-readable name of the quality gate.
      Angegeben von:
      getName in Klasse io.jenkins.plugins.util.QualityGate
      Gibt zurück:
      a human-readable name
    • getMetric

      public edu.hm.hafner.coverage.Metric getMetric()
    • getBaseline

      public Baseline getBaseline()