Enum L2TunnelHandler.Pipeline
- java.lang.Object
-
- java.lang.Enum<L2TunnelHandler.Pipeline>
-
- org.onosproject.segmentrouting.pwaas.L2TunnelHandler.Pipeline
-
- All Implemented Interfaces:
Serializable,Comparable<L2TunnelHandler.Pipeline>
- Enclosing interface:
- L2TunnelHandler
public static enum L2TunnelHandler.Pipeline extends Enum<L2TunnelHandler.Pipeline>
Pwaas pipelines.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INITIATIONThe initiation pipeline.TERMINATIONThe termination pipeline.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static L2TunnelHandler.PipelinevalueOf(String name)Returns the enum constant of this type with the specified name.static L2TunnelHandler.Pipeline[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIATION
public static final L2TunnelHandler.Pipeline INITIATION
The initiation pipeline.
-
TERMINATION
public static final L2TunnelHandler.Pipeline TERMINATION
The termination pipeline.
-
-
Method Detail
-
values
public static L2TunnelHandler.Pipeline[] 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 (L2TunnelHandler.Pipeline c : L2TunnelHandler.Pipeline.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static L2TunnelHandler.Pipeline 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
-
-