public enum HostStatus extends java.lang.Enum<HostStatus>
Enum Constant and Description |
---|
ConnectFail |
ConnectOK |
Primary |
Secondary |
Modifier and Type | Method and Description |
---|---|
static HostStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HostStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostStatus ConnectFail
public static final HostStatus ConnectOK
public static final HostStatus Primary
public static final HostStatus Secondary
public static HostStatus[] values()
for (HostStatus c : HostStatus.values()) System.out.println(c);
public static HostStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null