in jobs-service/jobs-service-internal-api/src/main/java/org/kie/kogito/jobs/service/model/JobDetails.java [123:143]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (!(o instanceof JobDetails)) {
return false;
}
JobDetails that = (JobDetails) o;
return Objects.equals(getId(), that.getId()) &&
Objects.equals(getCorrelationId(), that.getCorrelationId()) &&
Objects.equals(getStatus(), that.getStatus()) &&
(Objects.equals(getLastUpdate(), that.getLastUpdate()) || Objects.isNull(getLastUpdate()) || Objects.isNull(that.getLastUpdate())) &&
Objects.equals(getRetries(), that.getRetries()) &&
Objects.equals(getExecutionCounter(), that.getExecutionCounter()) &&
Objects.equals(getScheduledId(), that.getScheduledId()) &&
Objects.equals(getRecipient(), that.getRecipient()) &&
Objects.equals(getTrigger().hasNextFireTime(), that.getTrigger().hasNextFireTime()) &&
Objects.equals(getExecutionTimeout(), that.getExecutionTimeout()) &&
Objects.equals(getExecutionTimeoutUnit(), that.getExecutionTimeoutUnit()) &&
Objects.equals(getCreated(), that.getCreated());
}