Enum L1ModificationInstruction.L1SubType
- java.lang.Object
-
- java.lang.Enum<L1ModificationInstruction.L1SubType>
-
- org.onosproject.net.flow.instructions.L1ModificationInstruction.L1SubType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<L1ModificationInstruction.L1SubType>
- Enclosing class:
- L1ModificationInstruction
public static enum L1ModificationInstruction.L1SubType extends java.lang.Enum<L1ModificationInstruction.L1SubType>
Represents the type of traffic treatment.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ODU_SIGID
ODU (Optical channel Data Unit) Signal Id modification.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static L1ModificationInstruction.L1SubType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static L1ModificationInstruction.L1SubType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ODU_SIGID
public static final L1ModificationInstruction.L1SubType ODU_SIGID
ODU (Optical channel Data Unit) Signal Id modification.
-
-
Method Detail
-
values
public static L1ModificationInstruction.L1SubType[] 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 (L1ModificationInstruction.L1SubType c : L1ModificationInstruction.L1SubType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static L1ModificationInstruction.L1SubType 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
-
-