public static enum QualityGate.Status extends java.lang.Enum<QualityGate.Status>
Enum Constant and Description |
---|
ERROR
at least one error threshold is reached
|
OK
at least one threshold is defined, no threshold is reached
|
WARN
at least one warning threshold is reached, no error threshold is reached
|
Modifier and Type | Method and Description |
---|---|
static QualityGate.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QualityGate.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QualityGate.Status OK
public static final QualityGate.Status WARN
public static final QualityGate.Status ERROR
public static QualityGate.Status[] values()
for (QualityGate.Status c : QualityGate.Status.values()) System.out.println(c);
public static QualityGate.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null