public enum VplsCommandEnum extends Enum<VplsCommandEnum>
| Enum Constant and Description |
|---|
ADD_IFACE |
CLEAN |
CREATE |
DELETE |
LIST |
REMOVE_IFACE |
SET_ENCAP |
SHOW |
| Modifier and Type | Method and Description |
|---|---|
static VplsCommandEnum |
enumFromString(String command)
Alternative method to valueOf.
|
String |
toString() |
static List<String> |
toStringList()
Returns a list of command string values.
|
static VplsCommandEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VplsCommandEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VplsCommandEnum ADD_IFACE
public static final VplsCommandEnum CLEAN
public static final VplsCommandEnum CREATE
public static final VplsCommandEnum DELETE
public static final VplsCommandEnum LIST
public static final VplsCommandEnum REMOVE_IFACE
public static final VplsCommandEnum SET_ENCAP
public static final VplsCommandEnum SHOW
public static VplsCommandEnum[] values()
for (VplsCommandEnum c : VplsCommandEnum.values()) System.out.println(c);
public static VplsCommandEnum 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 toString()
toString in class Enum<VplsCommandEnum>public static List<String> toStringList()
public static VplsCommandEnum enumFromString(String command)
command - the string representing the encapsulation type