Skip to content

Commit e909d1e

Browse files
added jobkey to incident (#97)
1 parent 4be5fca commit e909d1e

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

extension/java-client-operate/src/main/java/io/camunda/operate/model/Incident.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public class Incident {
99
private OperateDate creationTime;
1010
private String state;
1111
private String tenantId;
12+
private Long jobKey;
1213

1314
public Long getKey() {
1415
return key;
@@ -73,4 +74,12 @@ public String getTenantId() {
7374
public void setTenantId(String tenantId) {
7475
this.tenantId = tenantId;
7576
}
77+
78+
public Long getJobKey() {
79+
return jobKey;
80+
}
81+
82+
public void setJobKey(Long jobKey) {
83+
this.jobKey = jobKey;
84+
}
7685
}

extension/java-client-operate/src/main/java/io/camunda/operate/search/IncidentFilterBuilder.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ public IncidentFilterBuilder tenantId(String tenantId) {
5050
return this;
5151
}
5252

53+
public IncidentFilterBuilder jobKey(Long jobKey) {
54+
filter.setJobKey(jobKey);
55+
return this;
56+
}
57+
5358
public IncidentFilter build() {
5459
return filter;
5560
}

0 commit comments

Comments
 (0)