Enum SouthboundConstants.VlanModes
- java.lang.Object
-
- java.lang.Enum<SouthboundConstants.VlanModes>
-
- org.opendaylight.ovsdb.southbound.SouthboundConstants.VlanModes
-
- All Implemented Interfaces:
Serializable,Comparable<SouthboundConstants.VlanModes>
- Enclosing interface:
- SouthboundConstants
public static enum SouthboundConstants.VlanModes extends Enum<SouthboundConstants.VlanModes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESSNATIVE_TAGGEDNATIVE_UNTAGGEDTRUNK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMode()StringtoString()static SouthboundConstants.VlanModesvalueOf(String name)Returns the enum constant of this type with the specified name.static SouthboundConstants.VlanModes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCESS
public static final SouthboundConstants.VlanModes ACCESS
-
NATIVE_TAGGED
public static final SouthboundConstants.VlanModes NATIVE_TAGGED
-
NATIVE_UNTAGGED
public static final SouthboundConstants.VlanModes NATIVE_UNTAGGED
-
TRUNK
public static final SouthboundConstants.VlanModes TRUNK
-
-
Method Detail
-
values
public static SouthboundConstants.VlanModes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SouthboundConstants.VlanModes c : SouthboundConstants.VlanModes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SouthboundConstants.VlanModes valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<SouthboundConstants.VlanModes>
-
getMode
public String getMode()
-
-