Examples of Gateway


Examples of org.eclipse.bpmn2.Gateway

        List<SequenceFlow> outgoing = getOutgoing(element);

        if (outgoing != null && !outgoing.isEmpty()) {
            boolean handled = false;
            if (element instanceof Gateway) {
                Gateway gateway = ((Gateway) element);
                if (gateway.getGatewayDirection() == GatewayDirection.DIVERGING) {
                   
                    handled = HandlerRegistry.getHandler(element).handle(element, manager);
                } else {
                    if (gateway instanceof ParallelGateway) {
                        handled = HandlerRegistry.getHandler(element).handle(element, manager);
View Full Code Here

Examples of org.eclipse.bpmn2.Gateway

        } else if (element instanceof EndEvent) {
           
            outgoing = ((EndEvent) element).getOutgoing();
        } else if (element instanceof Gateway) {
           
            Gateway gateway = ((Gateway) element);
            outgoing = gateway.getOutgoing();
        }
       
        return outgoing;
    }
View Full Code Here

Examples of org.eclipse.bpmn2.Gateway

            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case Bpmn2Package.GATEWAY: {
            Gateway gateway = (Gateway) theEObject;
            T result = caseGateway(gateway);
            if (result == null)
                result = caseFlowNode(gateway);
            if (result == null)
                result = caseFlowElement(gateway);
View Full Code Here

Examples of org.elasticsearch.gateway.Gateway

            assertHitCount(client().prepareSearch().setQuery(matchAllQuery()).get(), 1l);
        }
        assertThat(client().prepareGet("test", "type1", "1").execute().actionGet().isExists(), equalTo(true));

        logger.info("--> restarting the nodes");
        final Gateway gateway1 = internalCluster().getInstance(Gateway.class, node_1);
        internalCluster().fullRestart(new RestartCallback() {
            @Override
            public Settings onNodeStopped(String nodeName) throws Exception {
                if (node_1.equals(nodeName)) {
                    logger.info("--> deleting the data for the first node");
                    gateway1.reset();
                }
                return null;
            }
        });
View Full Code Here

Examples of org.jiql.util.Gateway

      }
     
       
      }
          Gateway gappe = Gateway.get(sqp.getProperties());
 
      gappe.writeTableInfo(sqp.getTable(),hash);


     
      //jiqlDBMgr.get(sqp.getProperties()).getCommand("addPrimaryKeys").execute(sqp);
      Enumeration en = sqp.getPrimaryKeys().elements();
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.