Remove MatchActionPlan class
* Removed MatchActionPlan object
* Refactored all APIs that used MatchActionPlan to use MatchActionOperations
Change-Id: If4192f0f0337fb3a9fdfe67b47541f41f9eb6b55
diff --git a/src/main/java/net/onrc/onos/core/matchaction/MatchActionEvent.java b/src/main/java/net/onrc/onos/core/matchaction/MatchActionEvent.java
index a711d46..485bdc5 100644
--- a/src/main/java/net/onrc/onos/core/matchaction/MatchActionEvent.java
+++ b/src/main/java/net/onrc/onos/core/matchaction/MatchActionEvent.java
@@ -11,14 +11,14 @@
/**
* TODO.
*
- * @return
+ * @return Match Action ID (This is a WIP).
*/
public MatchActionId getId();
/**
* TODO.
*
- * @return
+ * @return Match Action Status (This is a WIP).
*/
public MatchActionStatus getStatus();
diff --git a/src/main/java/net/onrc/onos/core/matchaction/MatchActionOperationsEvent.java b/src/main/java/net/onrc/onos/core/matchaction/MatchActionOperationsEvent.java
index fd8acfc..2ee1ea0 100644
--- a/src/main/java/net/onrc/onos/core/matchaction/MatchActionOperationsEvent.java
+++ b/src/main/java/net/onrc/onos/core/matchaction/MatchActionOperationsEvent.java
@@ -8,14 +8,14 @@
/**
* TODO.
*
- * @return
+ * @return Match Action Operations Id (this is a WIP).
*/
public MatchActionOperationsId getId();
/**
* TODO.
*
- * @return
+ * @return Match Action Operations State (this is a WIP).
*/
public MatchActionOperationsState getState();
diff --git a/src/main/java/net/onrc/onos/core/matchaction/MatchActionPlan.java b/src/main/java/net/onrc/onos/core/matchaction/MatchActionPlan.java
deleted file mode 100644
index 2ca52be..0000000
--- a/src/main/java/net/onrc/onos/core/matchaction/MatchActionPlan.java
+++ /dev/null
@@ -1,41 +0,0 @@
-package net.onrc.onos.core.matchaction;
-
-import java.util.Collections;
-import java.util.LinkedList;
-import java.util.List;
-
-/**
- * A match-action plan to be executed on the match-action module.
- * <p>
- * The plan is a list of phases, and the phase is a batch operation of
- * match-actions.
- */
-public class MatchActionPlan {
- List<MatchAction> phases;
-
- /**
- * Constructor.
- */
- public MatchActionPlan() {
- phases = new LinkedList<>();
- }
-
- /**
- * Adds the specified phase to the plan.
- *
- * @param phase The batch operation of match-actions to be added to the
- * plan.
- */
- public void addPhase(MatchAction phase) {
- phases.add(phase);
- }
-
- /**
- * Gets the list of phases of the plan.
- *
- * @return The list of phases, batch operations of match-actions.
- */
- public List<MatchAction> getPhases() {
- return Collections.unmodifiableList(phases);
- }
-}