public enum HealthState extends Enum<HealthState>
| Modifier and Type | Method and Description | 
|---|---|
static HealthState | 
of(String key)  | 
static HealthState | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static HealthState[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final HealthState PASSING
public static final HealthState WARNING
public static final HealthState CRITICAL
public static final HealthState ANY
public final String key
public static HealthState[] values()
for (HealthState c : HealthState.values()) System.out.println(c);
public static HealthState 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 static HealthState of(String key)
Copyright © 2020 Eclipse. All rights reserved.