Moti Asayag has uploaded a new change for review. Change subject: core: Implement VmGuestAgentInterface.toString() ......................................................................
core: Implement VmGuestAgentInterface.toString() Adds implementation of VmGuestAgentInterface.toString() Change-Id: Ib58dfd8a58676091ac7c99881bfd590f6467a95a Signed-off-by: Moti Asayag <masa...@redhat.com> --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmGuestAgentInterface.java 1 file changed, 16 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/28/10228/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmGuestAgentInterface.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmGuestAgentInterface.java index 3dd99fe..15474f9 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmGuestAgentInterface.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmGuestAgentInterface.java @@ -134,4 +134,20 @@ } return true; } + + @Override + public String toString() { + StringBuilder builder = new StringBuilder(); + builder.append(getInterfaceName()) + .append(" {vmId=") + .append(getVmId()) + .append(", macAddress=") + .append(getMacAddress()) + .append(", ipv4=") + .append(getIpv4Addresses()) + .append(", ipv6=") + .append(getIpv6Addresses()) + .append("}"); + return builder.toString(); + } } -- To view, visit http://gerrit.ovirt.org/10228 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib58dfd8a58676091ac7c99881bfd590f6467a95a 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