Moti Asayag has uploaded a new change for review.

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

engine: Add type argument to CommandBase

Change-Id: If307b519d358449ea84c9fadcf1142f760044d2c
Signed-off-by: Moti Asayag <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandCoordinatorImpl.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/interfaces/TaskHelper.java
2 files changed, 12 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/21/38521/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandCoordinatorImpl.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandCoordinatorImpl.java
index dc4b566..d952a82 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandCoordinatorImpl.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandCoordinatorImpl.java
@@ -301,21 +301,21 @@
 
     public AsyncTask getAsyncTask(
             Guid taskId,
-            CommandBase command,
+            CommandBase<?> command,
             AsyncTaskCreationInfo asyncTaskCreationInfo,
             VdcActionType parentCommand) {
         return coCoAsyncTaskHelper.getAsyncTask(taskId, command, 
asyncTaskCreationInfo, parentCommand);
     }
 
     public AsyncTask createAsyncTask(
-            CommandBase command,
+            CommandBase<?> command,
             AsyncTaskCreationInfo asyncTaskCreationInfo,
             VdcActionType parentCommand) {
         return coCoAsyncTaskHelper.createAsyncTask(command, 
asyncTaskCreationInfo, parentCommand);
     }
 
     public Guid createTask(Guid taskId,
-                           CommandBase command,
+            CommandBase<?> command,
                            AsyncTaskCreationInfo asyncTaskCreationInfo,
                            VdcActionType parentCommand,
                            String description,
@@ -326,17 +326,17 @@
 
     public SPMAsyncTask concreteCreateTask(
             Guid taskId,
-            CommandBase command,
+            CommandBase<?> command,
             AsyncTaskCreationInfo asyncTaskCreationInfo,
             VdcActionType parentCommand) {
         return coCoAsyncTaskHelper.concreteCreateTask(taskId, command, 
asyncTaskCreationInfo, parentCommand);
     }
 
-    public void cancelTasks(final CommandBase command) {
+    public void cancelTasks(final CommandBase<?> command) {
         coCoAsyncTaskHelper.cancelTasks(command, log);
     }
 
-    public void revertTasks(CommandBase command) {
+    public void revertTasks(CommandBase<?> command) {
         coCoAsyncTaskHelper.revertTasks(command);
     }
 
diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/interfaces/TaskHelper.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/interfaces/TaskHelper.java
index 526acec..f3eec2f 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/interfaces/TaskHelper.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/interfaces/TaskHelper.java
@@ -32,7 +32,7 @@
 
     Guid createTask(
             Guid taskId,
-            CommandBase command,
+            CommandBase<?> command,
             AsyncTaskCreationInfo asyncTaskCreationInfo,
             VdcActionType parentCommand,
             String description,
@@ -40,22 +40,22 @@
 
     SPMAsyncTask concreteCreateTask(
             Guid taskId,
-            CommandBase command,
+            CommandBase<?> command,
             AsyncTaskCreationInfo asyncTaskCreationInfo,
             VdcActionType parentCommand);
 
-    void cancelTasks(CommandBase command);
+    void cancelTasks(CommandBase<?> command);
 
-    void revertTasks(CommandBase command);
+    void revertTasks(CommandBase<?> command);
 
     AsyncTask getAsyncTask(
             Guid taskId,
-            CommandBase command,
+            CommandBase<?> command,
             AsyncTaskCreationInfo asyncTaskCreationInfo,
             VdcActionType parentCommand);
 
     public AsyncTask createAsyncTask(
-            CommandBase command,
+            CommandBase<?> command,
             AsyncTaskCreationInfo asyncTaskCreationInfo,
             VdcActionType parentCommand);
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If307b519d358449ea84c9fadcf1142f760044d2c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to