Examples of execute()


Examples of com.garbagemule.MobArena.waves.ability.Ability.execute()

        Ability ability = abilities.get(counter++ % abilities.size());
       
        // And make each boss in this boss wave use it!
        for (MABoss boss : bosses) {
            wave.announceAbility(ability, boss, arena);
            ability.execute(arena, boss);
        }
       
        // Schedule for another run!
        arena.scheduleTask(this, wave.getAbilityInterval());
    }
View Full Code Here

Examples of com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute()

   {
      JavaScriptEngine jse = client.getContentPage().getEnclosingWindow().getWebClient().getJavaScriptEngine();

      log.info( "Script is "+ (jse.isScriptRunning()?"":"not") +" running." );

      Object jsTreeItem = jse.execute((HtmlPage) client.getContentPage(), "Tree.Item", "testTreeItemLoaded", 0);
      log.info( jsTreeItem.getClass().getName() );
      log.info( ObjectUtils.toString(jsTreeItem) );

      //org.mozilla.javascript.InterpretedFunction
      // extends NativeFunction implements Script
View Full Code Here

Examples of com.gargoylesoftware.htmlunit.javascript.PostponedAction.execute()

            final JavaScriptEngine engine = getPage().getWebClient().getJavaScriptEngine();
            engine.addPostponedAction(action);
        }
        else {
            try {
                action.execute();
            }
            catch (final Exception e) {
                if (e instanceof RuntimeException) {
                    throw (RuntimeException) e;
                }
View Full Code Here

Examples of com.gemstone.gemfire.cache.execute.Execution.execute()

    ResultCollector<?, ?> resultCollector = null;

    execution = execution.withArgs(getArgs());

    if (isRegisteredFunction()) {
      resultCollector = (ResultCollector<?, ?>) execution.execute(functionId);
    } else {
      resultCollector = (ResultCollector<?, ?>) execution.execute(function);
      if (!function.hasResult()) {
        return (Iterable<T>) null;
      }
View Full Code Here

Examples of com.gemstone.gemfire.cache.query.Query.execute()

  @SuppressWarnings("unchecked")
  public <E> SelectResults<E> find(final String queryString, final Object... params) throws InvalidDataAccessApiUsageException {
    try {
      QueryService queryService = lookupQueryService(getRegion());
      Query query = queryService.newQuery(queryString);
      Object result = query.execute(params);

      if (result instanceof SelectResults) {
        return (SelectResults<E>) result;
      }
      else {
View Full Code Here

Examples of com.github.kristofa.test.http.client.ApacheHttpClientImpl.execute()

        }

        private HttpClientResponse<InputStream> forward(final FullHttpRequest request) throws HttpRequestException {
            final HttpClient client = new ApacheHttpClientImpl();
            return client.execute(request);
        }

        private void errorResponse(final Response response, final int httpCode, final String message) {
            response.setCode(httpCode);
            response.set(CONTENT_TYPE, "text/plain;charset=utf-8");
View Full Code Here

Examples of com.github.kristofa.test.http.client.HttpClient.execute()

        }

        private HttpClientResponse<InputStream> forward(final FullHttpRequest request) throws HttpRequestException {
            final HttpClient client = new ApacheHttpClientImpl();
            return client.execute(request);
        }

        private void errorResponse(final Response response, final int httpCode, final String message) {
            response.setCode(httpCode);
            response.set(CONTENT_TYPE, "text/plain;charset=utf-8");
View Full Code Here

Examples of com.github.marook.eclipse_remote_control.run.runner.ICommandRunner.execute()

   
    if(cr == null){
      // TODO log that we can't handle this command
    }
   
    cr.execute(cmd);
  }

}
View Full Code Here

Examples of com.github.maven_nar.cpptasks.CCTask.execute()

        getJava().addRuntime( task, getJavaHome( getAOL() ), getOS(), getAOL().getKey() + ".java." );

        // execute
        try
        {
            task.execute();
        }
        catch ( BuildException e )
        {
            throw new MojoExecutionException( "NAR: Test-Compile failed", e );
        }
View Full Code Here

Examples of com.github.maven_nar.cpptasks.ide.ProjectDef.execute()

         
          Enumeration<ProjectDef> iter = projects.elements();
          while (iter.hasMoreElements()) {
            ProjectDef projectDef = iter.nextElement();
            if (projectDef.isActive()) {
              projectDef.execute(this, files, targets, linkTarget);
            }
          }
        }
        if (projectsOnly) return;
     
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.