in ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostRoleCommandEntity.java [490:556]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
HostRoleCommandEntity that = (HostRoleCommandEntity) o;
if (attemptCount != null ? !attemptCount.equals(that.attemptCount) : that.attemptCount != null) {
return false;
}
if (event != null ? !event.equals(that.event) : that.event != null) {
return false;
}
if (exitcode != null ? !exitcode.equals(that.exitcode) : that.exitcode != null) {
return false;
}
if (hostEntity != null ? !hostEntity.equals(that.hostEntity) : that.hostEntity != null) {
return false;
}
if (lastAttemptTime != null ? !lastAttemptTime.equals(that.lastAttemptTime) : that.lastAttemptTime != null) {
return false;
}
if (requestId != null ? !requestId.equals(that.requestId) : that.requestId != null) {
return false;
}
if (role != null ? !role.equals(that.role) : that.role != null) {
return false;
}
if (stageId != null ? !stageId.equals(that.stageId) : that.stageId != null) {
return false;
}
if (startTime != null ? !startTime.equals(that.startTime) : that.startTime != null) {
return false;
}
if (originalStartTime != null ? !originalStartTime.equals(that.originalStartTime) : that.originalStartTime != null) {
return false;
}
if (status != null ? !status.equals(that.status) : that.status != null) {
return false;
}
if (stdError != null ? !Arrays.equals(stdError, that.stdError) : that.stdError != null) {
return false;
}
if (stdOut != null ? !Arrays.equals(stdOut, that.stdOut) : that.stdOut != null) {
return false;
}
if (outputLog != null ? !outputLog.equals(that.outputLog) : that.outputLog != null) {
return false;
}
if (errorLog != null ? !errorLog.equals(that.errorLog) : that.errorLog != null) {
return false;
}
if (taskId != null ? !taskId.equals(that.taskId) : that.taskId != null) {
return false;
}
if (structuredOut != null ? !Arrays.equals(structuredOut, that.structuredOut) : that.structuredOut != null) {
return false;
}
if (endTime != null ? !endTime.equals(that.endTime) : that.endTime != null) {
return false;
}
return true;
}