public enum HostNetworkInterfaceStatus extends java.lang.Enum<HostNetworkInterfaceStatus>
Enum Constant and Description |
---|
Down
The interface is not functioning.
|
Unknown
The state of interface cannot be determined.
|
Up
The interface is fully operational.
|
Modifier and Type | Method and Description |
---|---|
static HostNetworkInterfaceStatus |
fromValue(long v) |
static HostNetworkInterfaceStatus |
fromValue(java.lang.String v) |
int |
value() |
static HostNetworkInterfaceStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HostNetworkInterfaceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostNetworkInterfaceStatus Unknown
public static final HostNetworkInterfaceStatus Up
public static final HostNetworkInterfaceStatus Down
public static HostNetworkInterfaceStatus[] values()
for (HostNetworkInterfaceStatus c : HostNetworkInterfaceStatus.values()) System.out.println(c);
public static HostNetworkInterfaceStatus 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 int value()
public static HostNetworkInterfaceStatus fromValue(long v)
public static HostNetworkInterfaceStatus fromValue(java.lang.String v)