Examples of execute()


Examples of ru.aristar.jnuget.query.Expression.execute()

            QueryLexer queryLexer = new QueryLexer();
            Expression expression = queryLexer.parse(filter);
            if (expression.hasFilterPriority()) {
                return expression.filter(packageSource.getPackages());
            } else {
                return expression.execute(packageSource);
            }
        } catch (NugetFormatException e) {
            logger.warn("Ошибка разбора запроса пакетов", e);
            return packageSource.getPackages();
        }
View Full Code Here

Examples of samples.echo.TestClient.execute()

            }
        };

        // run the tests using a local (in process) server
        client.setURL("local:");
        client.execute();

        System.out.println("Test complete.");
    }
}
View Full Code Here

Examples of scap.check.exec.FileExecutor.execute()

          log.debug("Invoking OVALDI using: " + builder.toString());
         
        }

        Process p = executor.execute(arguments);

        String processName = ovalBin + " : " + this.getDefinitionXmlFile().getName();
        IORedirect  ioRedirect = new IORedirect( p.getInputStream(), out, outputInfoAndErrorsToSTDOUT );
        ioRedirect.setProcessName( processName );
View Full Code Here

Examples of se.sics.cooja.TimeEvent.execute()

        mote.requestImmediateWakeup();

        mote.getSimulation().scheduleEvent(this, t + DELAY_BETWEEN_BYTES);
      }
    };
    receiveCrosslevelDataEvent.execute(mote.getSimulation().getSimulationTime());
  }

  /* Custom data radio support */
  public Object getLastCustomDataTransmitted() {
    return sentByte;
View Full Code Here

Examples of se.sics.cooja.mspmote.MspMoteTimeEvent.execute()

        mote.requestImmediateWakeup();

        mote.getSimulation().scheduleEvent(this, t + DELAY_BETWEEN_BYTES);
      }
    };
    receiveCrosslevelDataEvent.execute(mote.getSimulation().getSimulationTime());
  }

  /* Custom data radio support */
  public Object getLastCustomDataTransmitted() {
    return sentByte;
View Full Code Here

Examples of simpleserver.command.PlayerCommand.execute()

    } catch (NullPointerException e) {
      System.out.println("Error evaluating player command: " + originalName);
    }

    if (!(command instanceof ExternalCommand) && (config == null || config.forwarding != Forwarding.ONLY)) {
      command.execute(this, message);
    }

    if (command instanceof ExternalCommand) {
      // commands with bound events have to be forwarded explicitly
      // (to prevent unknown command error by server)
View Full Code Here

Examples of simpleserver.command.ServerCommand.execute()

      rest = command.substring(idx);
    }

    ServerCommand serverCommand = server.getCommandParser().getServerCommand(tokens[0]);
    if ((serverCommand != null) && !(serverCommand instanceof InvalidCommand)) {
      serverCommand.execute(server, command, feedback);
    }
    if (serverCommand == null || serverCommand.shouldPassThroughToConsole(server)) {
      server.runCommand(tokens[0], rest);
    }
  }
View Full Code Here

Examples of sk.fiit.jim.init.Script.execute()

 
  protected String currentLowSkill(){
    StringHolder holder = new StringHolder();
    Script script = Script.createScript("$holder.value = Plan.instance.current_high_skill.current_low_skill");
    script.registerBean("holder", holder);
    script.execute();
    return holder.value;
  }
 
  protected String currentHighSkill(){
    StringHolder holder = new StringHolder();
View Full Code Here

Examples of smartrics.rest.client.RestClient.execute()

        RestRequest req = new RestRequest();
        req.setBody("name=n&data=d1");
        req.setResource("/resources/");
        req.setMethod(Method.Post);
        req.addHeader("Content-Type", "application/x-www-form-urlencoded;charset=UTF-8");
        RestResponse res = c.execute("http://localhost:8765", req);
        System.out.println("=======>\n" + res + "\n<=======");
    }

    public static void postXml(String[] args) {
        RestClient c = new RestClientImpl(new HttpClient());
View Full Code Here

Examples of smartrics.rest.client.RestClientImpl.execute()

        RestRequest req = new RestRequest();
        req.setBody("name=n&data=d1");
        req.setResource("/resources/");
        req.setMethod(Method.Post);
        req.addHeader("Content-Type", "application/x-www-form-urlencoded;charset=UTF-8");
        RestResponse res = c.execute("http://localhost:8765", req);
        System.out.println("=======>\n" + res + "\n<=======");
    }

    public static void postXml(String[] args) {
        RestClient c = new RestClientImpl(new HttpClient());
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.