public enum ProbeState extends java.lang.Enum<ProbeState>
Enum Constant and Description |
---|
Config
Checking the configuration
|
Tcp
Probing for TCP transport
|
Tls
Probing for TLS transport
|
Udp
Probing for UDP transport
|
Unknown
Invalid - information not available
|
Modifier and Type | Method and Description |
---|---|
static ProbeState |
fromInt(int i) |
static ProbeState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProbeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProbeState Unknown
public static final ProbeState Config
public static final ProbeState Tls
public static final ProbeState Tcp
public static final ProbeState Udp
public static ProbeState[] values()
for (ProbeState c : ProbeState.values()) System.out.println(c);
public static ProbeState 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 nullpublic static ProbeState fromInt(int i)