public enum VmInterfaceType extends Enum<VmInterfaceType>
| Enum Constant and Description |
|---|
e1000 |
pv |
rtl8139 |
rtl8139_pv |
| Modifier and Type | Method and Description |
|---|---|
static VmInterfaceType |
forValue(int value) |
String |
getInterfaceTranslation() |
int |
getSpeed() |
int |
getValue() |
static VmInterfaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VmInterfaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VmInterfaceType rtl8139_pv
public static final VmInterfaceType rtl8139
public static final VmInterfaceType e1000
public static final VmInterfaceType pv
public static VmInterfaceType[] values()
for (VmInterfaceType c : VmInterfaceType.values()) System.out.println(c);
public static VmInterfaceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getInterfaceTranslation()
public int getValue()
public static VmInterfaceType forValue(int value)
public int getSpeed()
Copyright © 2012. All Rights Reserved.