public static enum Component.Status extends Enum<Component.Status> implements io.jenkins.plugins.gating.ResourceStatus
| Enum Constant and Description |
|---|
DEGRADED_PERFORMANCE |
MAJOR_OUTAGE |
OPERATIONAL |
PARTIAL_OUTAGE |
UNDER_MAINTENANCE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Component.Status |
forValue(String value) |
io.jenkins.plugins.gating.ResourceStatus.Category |
getCategory() |
static Component.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Component.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Component.Status OPERATIONAL
public static final Component.Status DEGRADED_PERFORMANCE
public static final Component.Status PARTIAL_OUTAGE
public static final Component.Status UNDER_MAINTENANCE
public static final Component.Status MAJOR_OUTAGE
public static final Component.Status UNKNOWN
public static Component.Status[] values()
for (Component.Status c : Component.Status.values()) System.out.println(c);
public static Component.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 null@Nonnull public static Component.Status forValue(String value)
@Nonnull public io.jenkins.plugins.gating.ResourceStatus.Category getCategory()
getCategory in interface io.jenkins.plugins.gating.ResourceStatusCopyright © 2016–2021. All rights reserved.