HDDS-2065. Implement OMNodeDetails#toString

Closes #1387
This commit is contained in:
Siyao Meng 2019-09-18 17:10:26 +02:00 committed by Márton Elek
parent c28e731156
commit 8d9e9ec3e5
No known key found for this signature in database
GPG Key ID: D51EA8F00EE79B28

View File

@ -54,6 +54,19 @@ private OMNodeDetails(String serviceId, String nodeId,
this.httpsAddress = httpsAddress; this.httpsAddress = httpsAddress;
} }
@Override
public String toString() {
return "OMNodeDetails["
+ "omServiceId=" + omServiceId +
", omNodeId=" + omNodeId +
", rpcAddress=" + rpcAddress +
", rpcPort=" + rpcPort +
", ratisPort=" + ratisPort +
", httpAddress=" + httpAddress +
", httpsAddress=" + httpsAddress +
"]";
}
/** /**
* Builder class for OMNodeDetails. * Builder class for OMNodeDetails.
*/ */