Update compile() method of Flow object.
- Changed compile() to use FlowBatchOperation.Operator as a parameter
and return the list of MatchActionOperations object.
- This task is a preparation for ONOS-1690.
Change-Id: Ic1334c0385f244f1614e8a6b7cd6653252893dfd
diff --git a/src/main/java/net/onrc/onos/api/flowmanager/PacketPathFlow.java b/src/main/java/net/onrc/onos/api/flowmanager/PacketPathFlow.java
index 8a15f3f..b4364c6 100644
--- a/src/main/java/net/onrc/onos/api/flowmanager/PacketPathFlow.java
+++ b/src/main/java/net/onrc/onos/api/flowmanager/PacketPathFlow.java
@@ -40,11 +40,6 @@
this.idleTimeout = idleTimeout;
}
- @Override
- public PacketMatch getMatch() {
- return match;
- }
-
/**
* Gets idle-timeout value.
*
@@ -64,7 +59,12 @@
}
@Override
- public MatchActionOperations compile() {
+ public PacketMatch getMatch() {
+ return match;
+ }
+
+ @Override
+ public List<MatchActionOperations> compile(FlowBatchOperation.Operator op) {
// TODO Auto-generated method stub
return null;
}