Enum Constant and Description |
---|
INET_ADDRESS_REACHABLE_NEED_ROOT
The inet address reachable.
|
PROCESS
Start a process to run the real ping command from the OS
current did not specify the timeout.
|
Modifier and Type | Method and Description |
---|---|
static PingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PingMode PROCESS
public static final PingMode INET_ADDRESS_REACHABLE_NEED_ROOT
public static PingMode[] values()
for (PingMode c : PingMode.values()) System.out.println(c);
public static PingMode 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