Package org.onosproject.net.flow
Class FlowRuleOperation
- java.lang.Object
-
- org.onosproject.net.flow.FlowRuleOperation
-
public class FlowRuleOperation extends Object
Representation of an operation on a flow rule table.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlowRuleOperation.Type
Type of flow table operations.
-
Constructor Summary
Constructors Constructor Description FlowRuleOperation(FlowRule rule, FlowRuleOperation.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowRule
rule()
Returns the flow rule.String
toString()
FlowRuleOperation.Type
type()
Returns the type of operation.
-
-
-
Constructor Detail
-
FlowRuleOperation
public FlowRuleOperation(FlowRule rule, FlowRuleOperation.Type type)
-
-
Method Detail
-
type
public FlowRuleOperation.Type type()
Returns the type of operation.- Returns:
- type
-
rule
public FlowRule rule()
Returns the flow rule.- Returns:
- flow rule
-
-