Skip to content

Commit

Permalink
[#noissue] Add toString
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed Nov 29, 2022
1 parent 47b9624 commit 8af0020
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,12 @@ public boolean equals(Object o) {
public int hashCode() {
return agentInfo != null ? agentInfo.hashCode() : 0;
}

@Override
public String toString() {
return "AgentAndStatus{" +
"agentInfo=" + agentInfo +
", status=" + status +
'}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,13 @@ public static <T> AgentStatusQuery buildQuery(Collection<T> agentInfos, Function
}
return builder.build(timestamp);
}

@Override
public String toString() {
return "AgentStatusQuery{" +
"agentKeyList=" + agentKeyList +
", queryTimestamp=" + queryTimestamp +
'}';
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@ public DetailedAgentInfo getDetailedAgentInfo() {
public AgentStatus getStatus() {
return status;
}

@Override
public String toString() {
return "DetailedAgentAndStatus{" +
"detailedAgentInfo=" + detailedAgentInfo +
", status=" + status +
'}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,13 @@ public ServerMetaDataBo getServerMetaData() {
public JvmInfoBo getJvmInfo() {
return jvmInfo;
}

@Override
public String toString() {
return "DetailedAgentInfo{" +
"agentInfo=" + agentInfo +
", serverMetaData=" + serverMetaData +
", jvmInfo=" + jvmInfo +
'}';
}
}

0 comments on commit 8af0020

Please sign in to comment.