Examples of FlowElement


Examples of com.asakusafw.vocabulary.flow.graph.FlowElement

        assertThat(succ1.size(), is(2));
        assertThat(succ2.size(), is(2));

        Iterator<FlowElement> iter1 = succ1.iterator();
        FlowElement elem1 = iter1.next();
        FlowElement elem2 = iter1.next();
        Iterator<FlowElement> iter2 = succ2.iterator();
        FlowElement elem3 = iter2.next();
        FlowElement elem4 = iter2.next();

        assertThat(FlowGraphUtil.getSuccessors(elem1).size(), is(1));
        assertThat(FlowGraphUtil.getSuccessors(elem2).size(), is(1));
        assertThat(FlowGraphUtil.getSuccessors(elem3).size(), is(1));
        assertThat(FlowGraphUtil.getSuccessors(elem4).size(), is(1));
View Full Code Here

Examples of com.asakusafw.vocabulary.flow.graph.FlowElement

        assertThat(FlowBlock.isConnected(
                mapper.getBlockOutputs().get(0),
                stages.getOutput().getBlockInputs().get(0)), is(true));

        assertThat(mapper.getElements().size(), is(1));
        FlowElement mapperOp = single(mapper.getElements());

        assertThat(mapperOp.getDescription(), is(gen.desc("op")));
    }
View Full Code Here

Examples of com.odiago.flumebase.exec.FlowElement

      // queue(s) from the FlowElement to the set of output queues
      // we monitor for further event processing.
      try {
        newFlow.reverseBfs(new DAG.Operator<FlowElementNode>() {
          public void process(FlowElementNode elemNode) throws DAGOperatorException {
            FlowElement flowElem = elemNode.getFlowElement();

            // All FlowElements that we see will have LocalContext subclass contexts.
            // Get the output queue from this.
            LocalContext elemContext = (LocalContext) flowElem.getContext();
            elemContext.initControlQueue(mCompletionEventQueue);
            elemContext.setFlowData(activeFlowData);

            elemContext.createDownstreamQueues();
            List<SelectableQueue<Object>> elemBuffers = elemContext.getDownstreamQueues();
            if (null != elemBuffers) {
              List<FlowElement> downstreams = elemContext.getDownstream();
              // Bind each queue to its downstream element.
              for (int i = 0; i < elemBuffers.size(); i++) {
                SelectableQueue<Object> elemBuffer = elemBuffers.get(i);
                if (null != elemBuffer) {
                  FlowElement downstream = downstreams.get(i);
                  mInputQueues.put(elemBuffer, downstream);
                  mSelect.add(elemBuffer); // And watch this queue for updates.
                }
              }
            }
View Full Code Here

Examples of org.activiti.bpmn.model.FlowElement

            bpmConfNode.setPriority(priority);
            bpmConfNode.setBpmConfBase(bpmConfBase);
            bpmConfNodeManager.save(bpmConfNode);
        }

        FlowElement flowElement = bpmnModel.getFlowElement(node.getId());
        // 配置监听器
        processListener(flowElement.getExecutionListeners(), bpmConfNode);
    }
View Full Code Here

Examples of org.eclipse.bpmn2.FlowElement

       
        for (FlowElement fElement : currentContainerElems) {
            if (fElement.getId().equals(id) ) {
                return fElement;
            } else if (fElement instanceof FlowElementsContainer) {
                FlowElement fe = findElementInContainer((FlowElementsContainer) fElement, id);
                if (fe != null) {
                    return fe;
                }
            }
        }
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.