Package org.jbpm.workflow.instance.node

Examples of org.jbpm.workflow.instance.node.EventNodeInstance


      }
      for (Node node : getWorkflowProcess().getNodes()) {
        if (node instanceof EventNodeInterface) {
          if (((EventNodeInterface) node).acceptsEvent(type, event)) {
            if (node instanceof EventNode && ((EventNode) node).getFrom() == null) {
              EventNodeInstance eventNodeInstance = (EventNodeInstance) getNodeInstance(node);
              eventNodeInstance.signalEvent(type, event);
            } else {
              List<NodeInstance> nodeInstances = getNodeInstances(node
                  .getId());
              if (nodeInstances != null && !nodeInstances.isEmpty()) {
                for (NodeInstance nodeInstance : nodeInstances) {
View Full Code Here


            case PersisterEnums.TIMER_NODE_INSTANCE:
                nodeInstance = new TimerNodeInstance();
                ((TimerNodeInstance) nodeInstance).internalSetTimerId(stream.readLong());
                break;
            case PersisterEnums.EVENT_NODE_INSTANCE:
                nodeInstance = new EventNodeInstance();
                break;
            case PersisterEnums.JOIN_NODE_INSTANCE:
                nodeInstance = new JoinInstance();
                int number = stream.readInt();
                if (number > 0) {
View Full Code Here

TOP

Related Classes of org.jbpm.workflow.instance.node.EventNodeInstance

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.