[Task 72498] added the searchByProperty endpoint on the Process endpoints

This commit is contained in:
Raf Ponsaerts
2020-08-13 09:15:26 +02:00
parent d1ee942bd4
commit 68389c1863
10 changed files with 529 additions and 1 deletions

View File

@@ -43,6 +43,11 @@ public class ProcessBuilder extends AbstractBuilder<Process, ProcessService> {
return this;
}
public ProcessBuilder withProcessStatus(ProcessStatus processStatus) {
process.setProcessStatus(processStatus);
return this;
}
@Override
public void cleanup() throws Exception {
try (Context c = new Context()) {