Skip to content
Merged
Show file tree
Hide file tree
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 @@ -9,6 +9,7 @@ public class Incident {
private OperateDate creationTime;
private String state;
private String tenantId;
private Long jobKey;

public Long getKey() {
return key;
Expand Down Expand Up @@ -73,4 +74,12 @@ public String getTenantId() {
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}

public Long getJobKey() {
return jobKey;
}

public void setJobKey(Long jobKey) {
this.jobKey = jobKey;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ public IncidentFilterBuilder tenantId(String tenantId) {
return this;
}

public IncidentFilterBuilder jobKey(Long jobKey) {
filter.setJobKey(jobKey);
return this;
}

public IncidentFilter build() {
return filter;
}
Expand Down