Package org.jbpm.workflow.instance.node

Examples of org.jbpm.workflow.instance.node.EventNodeInstance.signalEvent()


      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

TOP
Copyright © 2018 www.massapi.com. 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.