Moti Asayag has submitted this change and it was merged.
Change subject: engine: Add CommandHelper class to check canDoActionOnly
......................................................................
engine: Add CommandHelper class to check canDoActionOnly
Introduce CommandHelper class which lets a
command check if another command can be executed
using the currenbt parameters and execution context
Change-Id: I1dabea07e91bf45c107738b53549aa9a4f8155f1
Signed-off-by: Ravi Nori <rnori(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandsFactory.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CoCoAsyncTaskHelper.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandCoordinatorImpl.java
A
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandHelper.java
4 files changed, 55 insertions(+), 38 deletions(-)
Approvals:
Greg Padgett: Looks good to me, but someone else must approve
Ravi Nori: Verified
Moti Asayag: Looks good to me, approved; Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/48153
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1dabea07e91bf45c107738b53549aa9a4f8155f1
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori(a)redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>