Enum QualityGateEvaluationMode
java.lang.Object
java.lang.Enum<QualityGateEvaluationMode>
io.jenkins.plugins.analysis.core.model.QualityGateEvaluationMode
- All Implemented Interfaces:
Serializable
,Comparable<QualityGateEvaluationMode>
Determines how the evaluation of the quality gates is taken into account when the previous result is searched for.
-
Enum Constant Summary
Enum ConstantDescriptionThe quality gate result is ignored.The quality gate result must be successful. -
Method Summary
Modifier and TypeMethodDescriptionstatic QualityGateEvaluationMode
Returns the enum constant of this type with the specified name.static QualityGateEvaluationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IGNORE_QUALITY_GATE
The quality gate result is ignored. The previous build with results of the same type is selected. -
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
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
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 nameNullPointerException
- if the argument is null
-