public static enum Component.TagType extends java.lang.Enum<Component.TagType>
| Modifier and Type | Method and Description |
|---|---|
static Component.TagType |
fromEtherType(org.onlab.packet.EthType.EtherType type) |
org.onlab.packet.EthType.EtherType |
getType() |
static Component.TagType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Component.TagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Component.TagType VLAN_NONE
public static final Component.TagType VLAN_CTAG
public static final Component.TagType VLAN_STAG
public static Component.TagType[] values()
for (Component.TagType c : Component.TagType.values()) System.out.println(c);
public static Component.TagType 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 org.onlab.packet.EthType.EtherType getType()
public static Component.TagType fromEtherType(org.onlab.packet.EthType.EtherType type)