in src/main/java/org/opensearch/ad/model/ADTask.java [613:642]
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
ADTask that = (ADTask) o;
return Objects.equal(getTaskId(), that.getTaskId())
&& Objects.equal(getLastUpdateTime(), that.getLastUpdateTime())
&& Objects.equal(getStartedBy(), that.getStartedBy())
&& Objects.equal(getStoppedBy(), that.getStoppedBy())
&& Objects.equal(getError(), that.getError())
&& Objects.equal(getState(), that.getState())
&& Objects.equal(getDetectorId(), that.getDetectorId())
&& Objects.equal(getTaskProgress(), that.getTaskProgress())
&& Objects.equal(getInitProgress(), that.getInitProgress())
&& Objects.equal(getCurrentPiece(), that.getCurrentPiece())
&& Objects.equal(getExecutionStartTime(), that.getExecutionStartTime())
&& Objects.equal(getExecutionEndTime(), that.getExecutionEndTime())
&& Objects.equal(getLatest(), that.getLatest())
&& Objects.equal(getTaskType(), that.getTaskType())
&& Objects.equal(getCheckpointId(), that.getCheckpointId())
&& Objects.equal(getCoordinatingNode(), that.getCoordinatingNode())
&& Objects.equal(getWorkerNode(), that.getWorkerNode())
&& Objects.equal(getDetector(), that.getDetector())
&& Objects.equal(getDetectionDateRange(), that.getDetectionDateRange())
&& Objects.equal(getEntity(), that.getEntity())
&& Objects.equal(getParentTaskId(), that.getParentTaskId())
&& Objects.equal(getEstimatedMinutesLeft(), that.getEstimatedMinutesLeft())
&& Objects.equal(getUser(), that.getUser());
}