Package org.onosproject.net.flow
Class FlowRuleOperations
- java.lang.Object
-
- org.onosproject.net.flow.FlowRuleOperations
-
public class FlowRuleOperations extends 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.List<Set<FlowRuleOperation>>
stages()
Returns the flow rule operations as sets of stages that should be executed sequentially.String
toString()
-
-
-
Method Detail
-
stages
public List<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
-
-