All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kie.kogito.app.Processes Maven / Gradle / Ivy

There is a newer version: 1.7.0.Final
Show newest version
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 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