Moti Asayag has uploaded a new change for review.

Change subject: engine: Add argument type to CommandBase
......................................................................

engine: Add argument type to CommandBase

Change-Id: I4beea9713e8554588cc6d6f0300ab213f53b731b
Signed-off-by: Moti Asayag <masa...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandCoordinatorUtil.java
1 file changed, 6 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/22/38522/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandCoordinatorUtil.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandCoordinatorUtil.java
index 6231cf8..467fc79 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandCoordinatorUtil.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandCoordinatorUtil.java
@@ -57,7 +57,7 @@
 
     public static Guid createTask(
             Guid taskId,
-            CommandBase command,
+            CommandBase<?> command,
             AsyncTaskCreationInfo asyncTaskCreationInfo,
             VdcActionType parentCommand,
             String description,
@@ -72,7 +72,7 @@
 
     public static SPMAsyncTask concreteCreateTask(
             Guid taskId,
-            CommandBase command,
+            CommandBase<?> command,
             AsyncTaskCreationInfo asyncTaskCreationInfo,
             VdcActionType parentCommand) {
         return coco.concreteCreateTask(taskId,
@@ -81,24 +81,24 @@
                 parentCommand);
     }
 
-    public static void cancelTasks(final CommandBase command) {
+    public static void cancelTasks(final CommandBase<?> command) {
         coco.cancelTasks(command);
     }
 
-    public static void revertTasks(final CommandBase command) {
+    public static void revertTasks(final CommandBase<?> command) {
         coco.revertTasks(command);
     }
 
     public static AsyncTask getAsyncTask(
             Guid taskId,
-            CommandBase command,
+            CommandBase<?> command,
             AsyncTaskCreationInfo asyncTaskCreationInfo,
             VdcActionType parentCommand) {
         return coco.getAsyncTask(taskId, command, asyncTaskCreationInfo, 
parentCommand);
     }
 
     public static AsyncTask createAsyncTask(
-            CommandBase command,
+            CommandBase<?> command,
             AsyncTaskCreationInfo asyncTaskCreationInfo,
             VdcActionType parentCommand) {
         return coco.createAsyncTask(command, asyncTaskCreationInfo, 
parentCommand);


-- 
To view, visit https://gerrit.ovirt.org/38522
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4beea9713e8554588cc6d6f0300ab213f53b731b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masa...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to