Examples of execute()


Examples of org.beangle.rule.engine.Engine.execute()

    ruleBase.getRules().add(rule2);
    engine.setRuleExecutorBuilder((RuleExecutorBuilder) applicationContext
        .getBean("ruleExecutorBuilder"));
    engine.setRuleBase(ruleBase);
    engine.setPatternMatcher(new FullPatternMatcher());
    engine.execute(context);
  }
}
View Full Code Here

Examples of org.beangle.rule.engine.RuleExecutor.execute()

  public void execute(Context context) {
    Agenda agenda = matcher.buildAgenda(base, context);
    List<Rule> rules = agenda.getRules();
    RuleExecutor executor = executorBuilder.build(rules, stopWhenFail);
    executor.execute(context);
  }

  public PatternMatcher getPatternMatcher() {
    return matcher;
  }
View Full Code Here

Examples of org.beangle.rule.engine.impl.SimpleEngine.execute()

    ruleBase.getRules().add(rule2);
    engine.setRuleExecutorBuilder((RuleExecutorBuilder) applicationContext
        .getBean("ruleExecutorBuilder"));
    engine.setRuleBase(ruleBase);
    engine.setPatternMatcher(new FullPatternMatcher());
    engine.execute(context);
  }
}
View Full Code Here

Examples of org.blueoxygen.common.dal.DbBean.execute()

                db.connect();
                String date = "";
                Calendar cal = new GregorianCalendar();
                date =cal.get(Calendar.YEAR) + "-" + (cal.get(Calendar.MONTH) + 1) + "-" + cal.get(Calendar.DATE;
                String mySQL = "INSERT INTO pos (create_date, pembulatan) VALUES ('" + date + "','" + pembulatan + "')";
                db.execute(mySQL);

                //mySQL = "INSERT INTO pos_transaction (create_date) VALUES ('" + date + "')";
                //db.execute(mySQL);

                if(paymentType.getSelectedItem().equals("Cash")){
View Full Code Here

Examples of org.boris.xlloop.IFunction.execute()

    public XLoper execute(IFunctionContext context, String name, XLoper[] args) throws RequestException {
        IFunction f = (IFunction) scripts.get(name);
        if (f == null) {
            throw new RequestException("#Unknown script: " + name);
        }
        return f.execute(context, args);
    }

    public boolean hasFunction(String name) {
        return scripts.containsKey(name);
    }
View Full Code Here

Examples of org.boris.xlloop.IFunctionHandler.execute()

    public XLoper execute(IFunctionContext context, String name, XLoper[] args) throws RequestException {
        for (Iterator i = handlers.iterator(); i.hasNext();) {
            IFunctionHandler h = (IFunctionHandler) i.next();
            if (h.hasFunction(name)) {
                return h.execute(context, name, args);
            }
        }

        throw new RequestException("#Unknown function: " + name);
    }
View Full Code Here

Examples of org.boris.xlloop.script.ScriptRepository.execute()

        Thread.sleep(1000);

        XLList a = new XLList();
        a.add(4);
        a.add(4.5);
        XLoper res = rep.execute(null, "Script.sum", a.toArray());
        System.out.println(res);
    }
}
View Full Code Here

Examples of org.broad.igv.batch.CommandExecutor.execute()

    @Test
    public void testBatchCommand_Error() throws Exception{
        CommandExecutor cmdexec = new CommandExecutor();
        String cmd = "org.broad.igv.tools.motiffinder.MotifFinderPlugin blarg " + EGFR_begseq;
        String resp = cmdexec.execute(cmd);
        assertTrue("Expected ERROR, was " + resp, resp.contains("ERROR"));

        assertEquals(2, IGV.getInstance().getVisibleTrackCount());
    }
View Full Code Here

Examples of org.broadinstitute.gatk.engine.GenomeAnalysisEngine.execute()

            engine.setReferenceMetaDataFiles(Collections.<RMDTriplet>emptyList());

            // Create the walker
            engine.setWalker(walkerType.create());

            engine.execute();
        }
    }

    private enum WalkerType {
        COUNT_READS {
View Full Code Here

Examples of org.broadinstitute.gatk.engine.executive.MicroScheduler.execute()

                    (readsDataSource.getReaderIDs().size() > 0 ? String.format(" over %d BAM files", readsDataSource.getReaderIDs().size()) : ""));
        Iterable<Shard> shardStrategy = getShardStrategy(readsDataSource,microScheduler.getReference(),intervals);
        logger.info("Done preparing for traversal");

        // execute the microscheduler, storing the results
        return microScheduler.execute(this.walker, shardStrategy);

        //monitor.stop();
        //logger.info(String.format("Maximum heap size consumed: %d",monitor.getMaxMemoryUsed()));

        //return result;
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.