public enum ResourceStatus extends Enum<ResourceStatus>
| Enum Constant and Description |
|---|
MAJOR_OUTAGE |
OPERATIONAL |
PARTIAL_OUTAGE |
PERFORMANCE_ISSUES |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static ResourceStatus |
valueOf(Integer id) |
static ResourceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceStatus UNKNOWN
public static final ResourceStatus OPERATIONAL
public static final ResourceStatus PERFORMANCE_ISSUES
public static final ResourceStatus PARTIAL_OUTAGE
public static final ResourceStatus MAJOR_OUTAGE
public static ResourceStatus[] values()
for (ResourceStatus c : ResourceStatus.values()) System.out.println(c);
public static ResourceStatus 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 nullpublic int getValue()
public static ResourceStatus valueOf(Integer id)
Copyright © 2016–2020. All rights reserved.