Package org.onosproject.net.flow
Class FlowRuleOperations
- java.lang.Object
-
- org.onosproject.net.flow.FlowRuleOperations
-
public class FlowRuleOperations extends java.lang.Object
A 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 class
FlowRuleOperations.Builder
A builder for constructing flow rule operations.
-
Constructor Summary
Constructors Modifier Constructor Description protected
FlowRuleOperations()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlowRuleOperations.Builder
builder()
Returns a new builder.FlowRuleOperationsContext
callback()
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.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-