Change in ovirt-engine[master]: engine: Added variable replacements to ValidationResult

mkolesni at redhat.com mkolesni at redhat.com
Mon Dec 24 06:21:07 UTC 2012


Mike Kolesnik has submitted this change and it was merged.

Change subject: engine: Added variable replacements to ValidationResult
......................................................................


engine: Added variable replacements to ValidationResult

Added a possibility to include variable replacements in the validation
result, so that variables inside the validation failure message can be
replaced with the given values.

This should make it easier to use validations that require variable
replacements inside the message.

Change-Id: I2ef15a9454cac7ea179fdbac0003944bc0327dcc
Signed-off-by: Mike Kolesnik <mkolesni at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ValidationResult.java
2 files changed, 37 insertions(+), 1 deletion(-)

Approvals:
  Mike Kolesnik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/10267
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2ef15a9454cac7ea179fdbac0003944bc0327dcc
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Muli Salem <msalem at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list