Examples of execute()


Examples of org.activiti.engine.impl.pvm.runtime.AtomicOperation.execute()

          AtomicOperation currentOperation = nextOperations.removeFirst();
          if (log.isTraceEnabled()) {
            log.trace("AtomicOperation: {} on {}", currentOperation, this);
          }
          if (execution.getReplacedBy() == null) {
            currentOperation.execute(execution);
          } else {
            currentOperation.execute(execution.getReplacedBy());
          }
        }
      } finally {
View Full Code Here

Examples of org.activiti.upgrade.CleanPostgres.execute()

  private static void dbSchemaDrop(ProcessEngineConfigurationImpl processEngineConfiguration) {
    if (processEngineConfiguration.getDatabaseType().equals("postgres")) {
     
      CleanPostgres cleanPostgres = new CleanPostgres();
      cleanPostgres.execute();
     
    } else {
   
      CommandExecutor commandExecutor = processEngineConfiguration.getCommandExecutorTxRequired();
      commandExecutor.execute(new Command<Object> (){
View Full Code Here

Examples of org.adoptopenjdk.jitwatch.sandbox.runtime.RuntimeJava.execute()

   
    String javaRuntime = Paths.get(System.getProperty("java.home"), "bin", "java").toString();

    RuntimeJava executor = new RuntimeJava(javaRuntime);
   
    boolean success = executor.execute("org.adoptopenjdk.jitwatch.demo.MakeHotSpotLog", cp, options, new ISandboxLogListener()
    {
      @Override
      public void log(String msg)
      {     
      }
View Full Code Here

Examples of org.andromda.maven.plugin.AndroMDAMojo.execute()

                final AndroMDAMojo andromdaMojo = new AndroMDAMojo();
                andromdaMojo.setConfigurationUri(this.configurationUri);
                andromdaMojo.setProject(this.project);
                andromdaMojo.setSettings(this.settings);
                andromdaMojo.setPropertyFiles(this.propertyFiles);
                andromdaMojo.execute();

                // - unpack the expected output archive
                this.unpack(
                    expectedOutputArchive,
                    new File(this.expectedDirectory));
View Full Code Here

Examples of org.any_openeai_enterprise.gateways.brg.RequestLogicExecutor.execute()

      executor.setBaseline(eBaselineMessageObject);
      executor.setMessageAction(msgAction);
      executor.setMessageObjectName(msgObject);
      executor.setMessageRelease(msgRelease);
      executor.setTestId(testId);
      executor.execute(replyDoc);
      String replyContents = buildReplyDocument(eControlArea, replyDoc);
      return getMessage(msg, replyContents);
    }
    catch (Exception e) {
      errMessage =
View Full Code Here

Examples of org.apache.accumulo.examples.wikisearch.parser.QueryParser.execute()

      // Step 1: Parse the query
      if (log.isDebugEnabled()) {
        log.debug("QueryParser");
      }
      QueryParser qp = new QueryParser();
      qp.execute(this.updatedQuery); // validateOptions updates the updatedQuery
     
      // need to build the query tree based on jexl parsing.
      // Step 2: refactor QueryTree - inplace modification
      if (log.isDebugEnabled()) {
        log.debug("transformTreeNode");
View Full Code Here

Examples of org.apache.accumulo.examples.wikisearch.parser.RangeCalculator.execute()

  @Override
  protected RangeCalculator getTermIndexInformation(Connector c, Authorizations auths, Multimap<String,Normalizer> indexedTerms,
      Multimap<String,QueryTerm> terms, String indexTableName, String reverseIndexTableName, String queryString, int queryThreads, Set<String> typeFilter)
      throws TableNotFoundException, org.apache.commons.jexl2.parser.ParseException {
    RangeCalculator calc = new RangeCalculator();
    calc.execute(c, auths, indexedTerms, terms, queryString, this, typeFilter);
    return calc;
  }
 
  protected Collection<Range> getFullScanRange(Date begin, Date end, Multimap<String,QueryTerm> terms) {
    return Collections.singletonList(new Range());
View Full Code Here

Examples of org.apache.activemq.console.command.Command.execute()

        context2.setFormatter(new CommandShellOutputFormatter(System.out));
        Command currentCommand = command.getClass().newInstance();

        try {
            currentCommand.setCommandContext(context2);
            currentCommand.execute(new ArrayList<String>(Arrays.asList(args)));
            return null;
        } catch (Throwable e) {
            Throwable cur = e;
            while (cur.getCause() != null) {
                cur = cur.getCause();
View Full Code Here

Examples of org.apache.activemq.console.command.ShutdownCommand.execute()

        command.setCommandContext(context);

        List<String> tokens = new ArrayList<String>(Arrays.asList(new String[] {
                "--jmxlocal", "--all", }));

        command.execute(tokens);
    }

}
View Full Code Here

Examples of org.apache.activemq.console.command.StartCommand.execute()

        context.setFormatter(new CommandShellOutputFormatter(System.out));

        Command command = new StartCommand();
        command.setCommandContext(context);

        command.execute(args);
    }

    /*
     * (non-Javadoc)
     *
 
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.