public enum HostNetworkInterfaceMediumType extends java.lang.Enum<HostNetworkInterfaceMediumType>
| Enum Constant and Description |
|---|
Ethernet
Ethernet frame encapsulation.
|
PPP
Point-to-point protocol encapsulation.
|
SLIP
Serial line IP encapsulation.
|
Unknown
The type of interface cannot be determined.
|
| Modifier and Type | Method and Description |
|---|---|
static HostNetworkInterfaceMediumType |
fromValue(long v) |
static HostNetworkInterfaceMediumType |
fromValue(java.lang.String v) |
int |
value() |
static HostNetworkInterfaceMediumType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HostNetworkInterfaceMediumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostNetworkInterfaceMediumType Unknown
public static final HostNetworkInterfaceMediumType Ethernet
public static final HostNetworkInterfaceMediumType PPP
public static final HostNetworkInterfaceMediumType SLIP
public static HostNetworkInterfaceMediumType[] values()
for (HostNetworkInterfaceMediumType c : HostNetworkInterfaceMediumType.values()) System.out.println(c);
public static HostNetworkInterfaceMediumType 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 HostNetworkInterfaceMediumType fromValue(long v)
public static HostNetworkInterfaceMediumType fromValue(java.lang.String v)