Package org.jbpm.nodeinstances.impl

Examples of org.jbpm.nodeinstances.impl.StartEventNodeInstance


*/
public class NodeInstanceFactory {
    public static NodeInstance newNodeInstance(ProcessInstance processInstance, Node node){
      
        if(node instanceof StartEventNode){
            StartEventNodeInstance startEvent = new StartEventNodeInstance();
            startEvent.setProcessInstance(processInstance);
            startEvent.setNode(node);
            return startEvent;
        }
        if(node instanceof ActionNode){
            ActionNodeInstance actionNode = new ActionNodeInstance(((ActionNode)node).getAction());
            actionNode.setProcessInstance(processInstance);
View Full Code Here

TOP

Related Classes of org.jbpm.nodeinstances.impl.StartEventNodeInstance

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.