Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ public static class Job {
public static final String RESOURCE = "job";

public static final String PROPERTY_ID = "id";
public static final String PROPERTY_UID = "uid";
public static final String PROPERTY_FREQUENCY = "frequency";
public static final String PROPERTY_RESULT = "result";
public static final String PROPERTY_MESSAGE = "message";
Expand All @@ -287,6 +288,7 @@ public static class Job {
public static final String PROPERTY_APPLY_EXCEPTIONS = "applyExceptions";

private String id;
private Integer uid;
private String frequency;
private String result;
private String message;
Expand All @@ -302,6 +304,14 @@ public void setId(String id) {
this.id = id;
}

public Integer getUid() {
return uid;
}

public void setUid(Integer uid) {
this.uid = uid;
}

public String getFrequency() {
return frequency;
}
Expand Down Expand Up @@ -358,6 +368,7 @@ public boolean equals(Object o) {
return false;
Job job = (Job) o;
return Objects.equals(id, job.id) &&
Objects.equals(uid, job.uid) &&
Objects.equals(frequency, job.frequency) &&
Objects.equals(result, job.result) &&
Objects.equals(message, job.message) &&
Expand All @@ -368,7 +379,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(id, frequency, result, message, rebuildOnRestartIfContainer, instanceProperties, applyExceptions);
return Objects.hash(id, uid, frequency, result, message, rebuildOnRestartIfContainer, instanceProperties, applyExceptions);
}

public static class InstanceProperty {
Expand Down