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;
}
Aggregations