diff --git a/extension/java-client-operate/src/main/java/io/camunda/operate/model/ProcessDefinition.java b/extension/java-client-operate/src/main/java/io/camunda/operate/model/ProcessDefinition.java index 00f264f..4f3fbdc 100644 --- a/extension/java-client-operate/src/main/java/io/camunda/operate/model/ProcessDefinition.java +++ b/extension/java-client-operate/src/main/java/io/camunda/operate/model/ProcessDefinition.java @@ -6,6 +6,7 @@ public class ProcessDefinition { private Long version; private String bpmnProcessId; private String tenantId; + private String versionTag; public Long getKey() { return key; @@ -46,4 +47,12 @@ public String getTenantId() { public void setTenantId(String tenantId) { this.tenantId = tenantId; } + + public String getVersionTag() { + return versionTag; + } + + public void setVersionTag(String versionTag) { + this.versionTag = versionTag; + } } diff --git a/extension/java-client-operate/src/main/java/io/camunda/operate/search/ProcessDefinitionFilterBuilder.java b/extension/java-client-operate/src/main/java/io/camunda/operate/search/ProcessDefinitionFilterBuilder.java index be3e3ee..9db074c 100644 --- a/extension/java-client-operate/src/main/java/io/camunda/operate/search/ProcessDefinitionFilterBuilder.java +++ b/extension/java-client-operate/src/main/java/io/camunda/operate/search/ProcessDefinitionFilterBuilder.java @@ -33,6 +33,11 @@ public ProcessDefinitionFilterBuilder tenantId(String tenantId) { return this; } + public ProcessDefinitionFilterBuilder versionTag(String versionTag) { + filter.setVersionTag(versionTag); + return this; + } + public ProcessDefinitionFilter build() { return filter; }