public enum HostHealthState extends Enum<HostHealthState>
| Enum Constant and Description |
|---|
Healthy
Host is considered to be healthy
|
Unhealthy
Host is not considered to be healthy
|
Unknown
Host health could not be ascertained
|
| Modifier and Type | Method and Description |
|---|---|
static HostHealthState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostHealthState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostHealthState Unknown
public static final HostHealthState Healthy
public static final HostHealthState Unhealthy
public static HostHealthState[] values()
for (HostHealthState c : HostHealthState.values()) System.out.println(c);
public static HostHealthState 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 © 2023 Bloomberg L.P.. All rights reserved.