Class WarningsQualityGate.WarningsQualityGateDescriptor

java.lang.Object
hudson.model.Descriptor<io.jenkins.plugins.util.QualityGate>
io.jenkins.plugins.util.QualityGate.QualityGateDescriptor
io.jenkins.plugins.analysis.core.util.WarningsQualityGate.WarningsQualityGateDescriptor
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
WarningsQualityGate

@Extension public static class WarningsQualityGate.WarningsQualityGateDescriptor extends io.jenkins.plugins.util.QualityGate.QualityGateDescriptor
Descriptor of the WarningsQualityGate.
  • Constructor Details

    • WarningsQualityGateDescriptor

      public WarningsQualityGateDescriptor()
      Creates a new descriptor.
  • Method Details

    • doFillTypeItems

      @POST public ListBoxModel doFillTypeItems()
      Return the model for the select widget.
      Returns:
      the quality gate types
    • doCheckThreshold

      @POST public FormValidation doCheckThreshold(@AncestorInPath BuildableItem project, @QueryParameter int threshold)
      Performs on-the-fly validation of the quality gate threshold.
      Parameters:
      project - the project that is configured
      threshold - the threshold
      Returns:
      the validation result