org.kie.kogito.app.Processes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of process-usertasks-with-security-springboot
Show all versions of process-usertasks-with-security-springboot
Kogito usertasks orchestration with security enabled on REST api - Spring Boot
package org.kie.kogito.app;
public class Processes implements org.kie.kogito.process.Processes {
private final Application application;
public Processes(Application application) {
this.application = application;
}
public org.kie.kogito.process.Process extends org.kie.kogito.Model> processById(String processId) {
if ("approvals".equals(processId))
return new org.acme.travels.ApprovalsProcess(application).configure();
return null;
}
public java.util.Collection processIds() {
return java.util.Arrays.asList("approvals");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy