public enum EncapsulationType extends Enum<EncapsulationType>
| Enum Constant and Description |
|---|
MPLS
Indicates an MPLS encapsulation.
|
VLAN
Indicates a VLAN encapsulation.
|
| Modifier and Type | Method and Description |
|---|---|
static EncapsulationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncapsulationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncapsulationType MPLS
public static final EncapsulationType VLAN
public static EncapsulationType[] values()
for (EncapsulationType c : EncapsulationType.values()) System.out.println(c);
public static EncapsulationType 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 null