Package org.onosproject.net.flow
Class FlowRuleOperations
- java.lang.Object
-
- org.onosproject.net.flow.FlowRuleOperations
-
public class FlowRuleOperations extends java.lang.ObjectA batch of flow rule operations that are broken into stages. TODO move this up to parent's package
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlowRuleOperations.BuilderA builder for constructing flow rule operations.
-
Constructor Summary
Constructors Modifier Constructor Description protectedFlowRuleOperations()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlowRuleOperations.Builderbuilder()Returns a new builder.FlowRuleOperationsContextcallback()Returns the callback for this batch of operations.java.util.List<java.util.Set<FlowRuleOperation>>stages()Returns the flow rule operations as sets of stages that should be executed sequentially.java.lang.StringtoString()
-
-
-
Method Detail
-
stages
public java.util.List<java.util.Set<FlowRuleOperation>> stages()
Returns the flow rule operations as sets of stages that should be executed sequentially.- Returns:
- flow rule stages
-
callback
public FlowRuleOperationsContext callback()
Returns the callback for this batch of operations.- Returns:
- callback
-
builder
public static FlowRuleOperations.Builder builder()
Returns a new builder.- Returns:
- new builder
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-