Enum PortDescPropertyType
- java.lang.Object
-
- java.lang.Enum<PortDescPropertyType>
-
- org.onosproject.openflow.controller.PortDescPropertyType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PortDescPropertyType>
public enum PortDescPropertyType extends java.lang.Enum<PortDescPropertyType>
Port description property types (OFPPDPT enums) in OF 1.3 <.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ETHERNETEXPERIMENTEROPTICALOPTICAL_TRANSPORTPIPELINE_INPUTPIPELINE_OUTPUTRECIRCULATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intvalueOf()static PortDescPropertyTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PortDescPropertyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ETHERNET
public static final PortDescPropertyType ETHERNET
-
OPTICAL
public static final PortDescPropertyType OPTICAL
-
OPTICAL_TRANSPORT
public static final PortDescPropertyType OPTICAL_TRANSPORT
-
PIPELINE_INPUT
public static final PortDescPropertyType PIPELINE_INPUT
-
PIPELINE_OUTPUT
public static final PortDescPropertyType PIPELINE_OUTPUT
-
RECIRCULATE
public static final PortDescPropertyType RECIRCULATE
-
EXPERIMENTER
public static final PortDescPropertyType EXPERIMENTER
-
-
Method Detail
-
values
public static PortDescPropertyType[] 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 (PortDescPropertyType c : PortDescPropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PortDescPropertyType 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
-
valueOf
public int valueOf()
-
-