Examples of command()


Examples of org.locationtech.geogig.repository.Repository.command()

            RevTree rootTree = RevTree.EMPTY;

            if (newParents.size() > 0) {
                ObjectId mappedCommit = newParents.get(0);

                Optional<ObjectId> treeId = to.command(ResolveTreeish.class)
                        .setTreeish(mappedCommit).call();
                if (treeId.isPresent()) {
                    rootTree = to.getTree(treeId.get());
                }
            }
View Full Code Here

Examples of org.structr.core.app.App.command()

  }

  public static void importCypher(final List<String> sources) throws FrameworkException {

    final App app                      = StructrApp.getInstance();
    final GraphDatabaseService graphDb = app.command(GraphDatabaseCommand.class).execute();
    final ExecutionEngine engine       = new ExecutionEngine(graphDb, new BufferingLogger());

    // nothing to do
    if (sources.isEmpty()) {
      return;
View Full Code Here

Examples of org.vimplugin.VimConnection.command()

    boolean first = plugin.getVimserver(VimPlugin.DEFAULT_VIMSERVER_ID) == null;
    serverID = tabbed ? plugin.getDefaultVimServer() : plugin.createVimServer();
    plugin.getVimserver(serverID).start(workingDir, filePath, tabbed, first);

    VimConnection vc = plugin.getVimserver(serverID).getVc();
    vc.command(bufferID, "editFile", "\"" + filePath + "\"");

    if (documentListen){
      vc.command(bufferID, "startDocumentListen", "");
    }else{
      vc.command(bufferID, "stopDocumentListen", "");
View Full Code Here

Examples of org.zeroturnaround.exec.ProcessExecutor.command()

        add("target/test-classes");
        add(HelloWorld.class.getName());
      }
    };
    ProcessExecutor exec = new ProcessExecutor();
    exec.command(args);
    ProcessResult result = exec.readOutput(true).execute();
    Assert.assertEquals("Hello world!", result.outputUTF8());
  }

  @Test
View Full Code Here

Examples of uk.co.cwspencer.gdb.messages.annotations.GdbMiDoneEvent.command()

                                        "GdbMiEventTypes.doneEventTypes list but does not have a" +
                                        "GdbMiDoneEvent annotation");
                                continue;
                            }

                            if (doneEventAnnotation.command().equals(commandType)) {
                                // Found a match; check if we need to transpose a specific result
                                // onto this class
                                if (!doneEventAnnotation.transpose().isEmpty()) {
                                    List<GdbMiResult> transposedResults = transposeDoneEvent(record,
                                            doneEventAnnotation);
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.