Ray Milkey
Committed by Brian O'Connor

ONOS-989 - Add key to toString() methods of intents

Change-Id: Ic82b25e26ab7fb767f3ca571ef7594679c501ba5
...@@ -144,6 +144,7 @@ public final class HostToHostIntent extends ConnectivityIntent { ...@@ -144,6 +144,7 @@ public final class HostToHostIntent extends ConnectivityIntent {
144 public String toString() { 144 public String toString() {
145 return MoreObjects.toStringHelper(getClass()) 145 return MoreObjects.toStringHelper(getClass())
146 .add("id", id()) 146 .add("id", id())
147 + .add("key", key())
147 .add("appId", appId()) 148 .add("appId", appId())
148 .add("resources", resources()) 149 .add("resources", resources())
149 .add("selector", selector()) 150 .add("selector", selector())
......
...@@ -142,6 +142,7 @@ public final class LinkCollectionIntent extends ConnectivityIntent { ...@@ -142,6 +142,7 @@ public final class LinkCollectionIntent extends ConnectivityIntent {
142 public String toString() { 142 public String toString() {
143 return MoreObjects.toStringHelper(getClass()) 143 return MoreObjects.toStringHelper(getClass())
144 .add("id", id()) 144 .add("id", id())
145 + .add("key", key())
145 .add("appId", appId()) 146 .add("appId", appId())
146 .add("resources", resources()) 147 .add("resources", resources())
147 .add("selector", selector()) 148 .add("selector", selector())
......
...@@ -149,6 +149,7 @@ public final class MultiPointToSinglePointIntent extends ConnectivityIntent { ...@@ -149,6 +149,7 @@ public final class MultiPointToSinglePointIntent extends ConnectivityIntent {
149 public String toString() { 149 public String toString() {
150 return MoreObjects.toStringHelper(getClass()) 150 return MoreObjects.toStringHelper(getClass())
151 .add("id", id()) 151 .add("id", id())
152 + .add("key", key())
152 .add("appId", appId()) 153 .add("appId", appId())
153 .add("resources", resources()) 154 .add("resources", resources())
154 .add("selector", selector()) 155 .add("selector", selector())
......
...@@ -148,6 +148,7 @@ public class PointToPointIntent extends ConnectivityIntent { ...@@ -148,6 +148,7 @@ public class PointToPointIntent extends ConnectivityIntent {
148 public String toString() { 148 public String toString() {
149 return MoreObjects.toStringHelper(getClass()) 149 return MoreObjects.toStringHelper(getClass())
150 .add("id", id()) 150 .add("id", id())
151 + .add("key", key())
151 .add("appId", appId()) 152 .add("appId", appId())
152 .add("resources", resources()) 153 .add("resources", resources())
153 .add("selector", selector()) 154 .add("selector", selector())
......
...@@ -120,6 +120,7 @@ public class SinglePointToMultiPointIntent extends ConnectivityIntent { ...@@ -120,6 +120,7 @@ public class SinglePointToMultiPointIntent extends ConnectivityIntent {
120 public String toString() { 120 public String toString() {
121 return MoreObjects.toStringHelper(getClass()) 121 return MoreObjects.toStringHelper(getClass())
122 .add("id", id()) 122 .add("id", id())
123 + .add("key", key())
123 .add("appId", appId()) 124 .add("appId", appId())
124 .add("resources", resources()) 125 .add("resources", resources())
125 .add("selector", selector()) 126 .add("selector", selector())
......