Skip to content

Commit

Permalink
add versionTag property to process definition (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
grafvonb authored Dec 9, 2024
1 parent b700589 commit 927f688
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ public class ProcessDefinition {
private Long version;
private String bpmnProcessId;
private String tenantId;
private String versionTag;

public Long getKey() {
return key;
Expand Down Expand Up @@ -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;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 927f688

Please sign in to comment.