public enum Health extends Enum<Health>
| Enum Constant and Description |
|---|
Fatal |
Misconfigured |
Normal |
SubSLA |
Unknown |
| Modifier and Type | Method and Description |
|---|---|
static Health |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Health[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Health Unknown
public static final Health Normal
public static final Health SubSLA
public static final Health Fatal
public static final Health Misconfigured
public static Health[] values()
for (Health c : Health.values()) System.out.println(c);
public static Health 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 © 2017. All rights reserved.