Enum QualityGateEvaluationMode

java.lang.Object
java.lang.Enum<QualityGateEvaluationMode>
io.jenkins.plugins.analysis.core.model.QualityGateEvaluationMode
All Implemented Interfaces:
Serializable, Comparable<QualityGateEvaluationMode>

public enum QualityGateEvaluationMode extends Enum<QualityGateEvaluationMode>
Determines how the evaluation of the quality gates is taken into account when the previous result is searched for.
  • Enum Constant Details

    • IGNORE_QUALITY_GATE

      public static final QualityGateEvaluationMode IGNORE_QUALITY_GATE
      The quality gate result is ignored. The previous build with results of the same type is selected.
    • SUCCESSFUL_QUALITY_GATE

      public static final QualityGateEvaluationMode SUCCESSFUL_QUALITY_GATE
      The quality gate result must be successful. I.e., the history is searched for a build that either passed the quality gate or has deactivated the quality gate.
  • Method Details

    • values

      public static QualityGateEvaluationMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static QualityGateEvaluationMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null