Moti Asayag has submitted this change and it was merged.
Change subject: engine: Add ReplacementUtils
......................................................................
engine: Add ReplacementUtils
Add a utility class for replacing a property within a message
that represents a collection of items with their value.
The utility also supports replacements of a counter if specified
as ${PropertyName_COUNTER}.
Change-Id: Ia9d30047f090057561bd1a3e16f3edb4e724bd8d
Signed-off-by: Moti Asayag <masayag(a)redhat.com>
---
A
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ReplacementUtils.java
A
backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/ReplacementUtilsTest.java
2 files changed, 150 insertions(+), 0 deletions(-)
Approvals:
Moti Asayag: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/10723
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia9d30047f090057561bd1a3e16f3edb4e724bd8d
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>