Search in sources :

Example 1 with LambdaSubProcessNodeInstance

use of org.jbpm.workflow.instance.node.LambdaSubProcessNodeInstance in project kogito-runtimes by kiegroup.

the class ProtobufProcessInstanceReader method buildLambdaSubProcessNodeInstance.

private NodeInstanceImpl buildLambdaSubProcessNodeInstance(LambdaSubProcessNodeInstanceContent content) {
    LambdaSubProcessNodeInstance nodeInstance = new LambdaSubProcessNodeInstance();
    nodeInstance.internalSetProcessInstanceId(content.getProcessInstanceId());
    if (content.getTimerInstanceIdCount() > 0) {
        nodeInstance.internalSetTimerInstances(new ArrayList<>(content.getTimerInstanceIdList()));
    }
    return nodeInstance;
}
Also used : LambdaSubProcessNodeInstance(org.jbpm.workflow.instance.node.LambdaSubProcessNodeInstance)

Aggregations

LambdaSubProcessNodeInstance (org.jbpm.workflow.instance.node.LambdaSubProcessNodeInstance)1