Enum WarningsQualityGate.QualityGateType
java.lang.Object
java.lang.Enum<WarningsQualityGate.QualityGateType>
io.jenkins.plugins.analysis.core.util.WarningsQualityGate.QualityGateType
- All Implemented Interfaces:
Serializable
,Comparable<WarningsQualityGate.QualityGateType>
- Enclosing class:
WarningsQualityGate
public static enum WarningsQualityGate.QualityGateType
extends Enum<WarningsQualityGate.QualityGateType>
Available quality gate types.
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the localized human-readable name of this type.Returns the method that should be used to determine the actual number of issues in the build.Returns the enum constant of this type with the specified name.static WarningsQualityGate.QualityGateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TOTAL
-
TOTAL_ERROR
-
TOTAL_HIGH
-
TOTAL_NORMAL
-
TOTAL_LOW
-
TOTAL_MODIFIED
-
NEW
-
NEW_ERROR
-
NEW_HIGH
-
NEW_NORMAL
-
NEW_LOW
-
NEW_MODIFIED
-
DELTA
-
DELTA_ERROR
-
DELTA_HIGH
-
DELTA_NORMAL
-
DELTA_LOW
-
-
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
-
getDisplayName
Returns the localized human-readable name of this type.- Returns:
- human-readable name
-
getSizeGetter
Returns the method that should be used to determine the actual number of issues in the build.- Returns:
- the threshold getter
-