Enum InterfaceInfo.InterfaceType
- java.lang.Object
-
- java.lang.Enum<InterfaceInfo.InterfaceType>
-
- org.opendaylight.genius.interfacemanager.globals.InterfaceInfo.InterfaceType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InterfaceInfo.InterfaceType>
- Enclosing class:
- InterfaceInfo
public static enum InterfaceInfo.InterfaceType extends java.lang.Enum<InterfaceInfo.InterfaceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GRE_TRUNK_INTERFACE
LOGICAL_GROUP_INTERFACE
MPLS_OVER_GRE
MPLS_OVER_UDP
UNKNOWN_INTERFACE
VLAN_INTERFACE
VXLAN_TRUNK_INTERFACE
VXLAN_VNI_INTERFACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InterfaceInfo.InterfaceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InterfaceInfo.InterfaceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VLAN_INTERFACE
public static final InterfaceInfo.InterfaceType VLAN_INTERFACE
-
VXLAN_TRUNK_INTERFACE
public static final InterfaceInfo.InterfaceType VXLAN_TRUNK_INTERFACE
-
GRE_TRUNK_INTERFACE
public static final InterfaceInfo.InterfaceType GRE_TRUNK_INTERFACE
-
VXLAN_VNI_INTERFACE
public static final InterfaceInfo.InterfaceType VXLAN_VNI_INTERFACE
-
MPLS_OVER_GRE
public static final InterfaceInfo.InterfaceType MPLS_OVER_GRE
-
MPLS_OVER_UDP
public static final InterfaceInfo.InterfaceType MPLS_OVER_UDP
-
LOGICAL_GROUP_INTERFACE
public static final InterfaceInfo.InterfaceType LOGICAL_GROUP_INTERFACE
-
UNKNOWN_INTERFACE
public static final InterfaceInfo.InterfaceType UNKNOWN_INTERFACE
-
-
Method Detail
-
values
public static InterfaceInfo.InterfaceType[] 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 (InterfaceInfo.InterfaceType c : InterfaceInfo.InterfaceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterfaceInfo.InterfaceType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-