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

org.kie.kogito.examples.demo.PersonsProcessInstance Maven / Gradle / Ivy

package org.kie.kogito.examples.demo;

public class PersonsProcessInstance extends org.kie.kogito.process.impl.AbstractProcessInstance {

    public PersonsProcessInstance(org.kie.kogito.examples.demo.PersonsProcess process, PersonsModel value, org.kie.api.runtime.process.ProcessRuntime processRuntime) {
        super(process, value, processRuntime);
    }

    public PersonsProcessInstance(org.kie.kogito.examples.demo.PersonsProcess process, PersonsModel value, java.lang.String businessKey, org.kie.api.runtime.process.ProcessRuntime processRuntime) {
        super(process, value, businessKey, processRuntime);
    }

    public PersonsProcessInstance(org.kie.kogito.examples.demo.PersonsProcess process, PersonsModel value, org.kie.api.runtime.process.ProcessRuntime processRuntime, org.kie.api.runtime.process.WorkflowProcessInstance wpi) {
        super(process, value, processRuntime, wpi);
    }

    public PersonsProcessInstance(org.kie.kogito.examples.demo.PersonsProcess process, PersonsModel value, org.kie.api.runtime.process.WorkflowProcessInstance wpi) {
        super(process, value, wpi);
    }

    protected java.util.Map bind(PersonsModel variables) {
        if (null != variables)
            return variables.toMap();
        else
            return new java.util.HashMap();
    }

    protected void unbind(PersonsModel variables, java.util.Map vmap) {
        variables.fromMap(this.id(), vmap);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy