Class OpenFlowClassifier.Builder
- java.lang.Object
-
- org.onosproject.openflow.controller.OpenFlowClassifier.Builder
-
- Enclosing class:
- OpenFlowClassifier
public static class OpenFlowClassifier.Builder extends java.lang.ObjectBuilder of the OpenFlow classifier.
-
-
Constructor Summary
Constructors Constructor Description Builder(org.onosproject.net.DeviceId deviceId, int idQueue)Builder constructor for OpenFlow classifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenFlowClassifierbuild()Builds the OpenFlow classifier from the accumulated parameters.OpenFlowClassifier.BuilderethernetType(short ethernetType)Sets the ethernet type for the OpenFlow classifier that will be built.
-
-
-
Method Detail
-
ethernetType
public OpenFlowClassifier.Builder ethernetType(short ethernetType)
Sets the ethernet type for the OpenFlow classifier that will be built.- Parameters:
ethernetType- the ethernet type- Returns:
- this builder
-
build
public OpenFlowClassifier build()
Builds the OpenFlow classifier from the accumulated parameters.- Returns:
- OpenFlow classifier instance
-
-