public static enum QualityGate.Status extends 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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2009–2018 SonarSource. All rights reserved.