public enum VlanTagType extends Enum<VlanTagType>
Enum Constant and Description |
---|
FORBIDDEN
Port can not be added to VLAN
|
TAGGED
Packets require VLAN header
|
UNTAGGED
VLAN header will be added to packets going to TAGGED ports
|
Modifier and Type | Method and Description |
---|---|
static VlanTagType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VlanTagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VlanTagType TAGGED
public static final VlanTagType UNTAGGED
public static final VlanTagType FORBIDDEN
public static VlanTagType[] values()
for (VlanTagType c : VlanTagType.values()) System.out.println(c);
public static VlanTagType 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 nullCopyright © 2015. All Rights Reserved.