@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } IdleAgentMessage that = (IdleAgentMessage) o; if (!agent.equals(that.agent)) { return false; } return true; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; ElasticAgentRuntimeInfo that = (ElasticAgentRuntimeInfo) o; if (elasticAgentId != null ? !elasticAgentId.equals(that.elasticAgentId) : that.elasticAgentId != null) return false; return elasticPluginId != null ? elasticPluginId.equals(that.elasticPluginId) : that.elasticPluginId == null; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Report report = (Report) o; if (buildId != null ? !buildId.equals(report.buildId) : report.buildId != null) return false; if (!agentRuntimeInfo.equals(report.agentRuntimeInfo)) return false; if (jobIdentifier != null ? !jobIdentifier.equals(report.jobIdentifier) : report.jobIdentifier != null) return false; if (result != report.result) return false; return jobState == report.jobState; }
private boolean equals(AgentInstance that) { if (this.agentConfig == null ? that.agentConfig != null : !this.agentConfig.equals(that.agentConfig)) { return false; } if (this.agentRuntimeInfo == null ? that.agentRuntimeInfo != null : !this.agentRuntimeInfo.equals(that.agentRuntimeInfo)) { return false; } if (this.agentConfigStatus != that.agentConfigStatus) { return false; } if (this.agentType != that.agentType) { return false; } if (this.lastHeardTime == null ? that.lastHeardTime != null : !this.lastHeardTime.equals(that.lastHeardTime)) { return false; } return true; }