Examples of FetchOperation


Examples of com.basho.riak.client.core.operations.FetchOperation

                .build();
       
        cluster.execute(storeOp);
        storeOp.get();
       
        FetchOperation fetchOp =
            new FetchOperation.Builder(location).build();
               
        cluster.execute(fetchOp);
        FetchOperation.Response response = fetchOp.get();
        assertTrue(response.getObjectList().size() > 1);
       
        RiakObject ro = response.getObjectList().get(0);
        assertEquals(ro.getValue().toString(), value);
       
View Full Code Here

Examples of org.eclipse.egit.core.op.FetchOperation

   *
   */
  public FetchOperationUI(Repository repository, RemoteConfig config,
      int timeout, boolean dryRun) {
    this.repository = repository;
    op = new FetchOperation(repository, config, timeout, dryRun);
    sourceString = NLS.bind("{0} - {1}", repository.getDirectory() //$NON-NLS-1$
        .getParentFile().getName(), config.getName());

  }
View Full Code Here

Examples of org.eclipse.egit.core.op.FetchOperation

   * @param dryRun
   */
  public FetchOperationUI(Repository repository, URIish uri,
      List<RefSpec> specs, int timeout, boolean dryRun) {
    this.repository = repository;
    op = new FetchOperation(repository, uri, specs, timeout, dryRun);
    sourceString = uri.toPrivateString();
  }
View Full Code Here

Examples of org.eclipse.egit.core.op.FetchOperation

    config.setString(ConfigConstants.CONFIG_BRANCH_SECTION, "master", ConfigConstants.CONFIG_KEY_REMOTE, "origin");
    config.setString(ConfigConstants.CONFIG_BRANCH_SECTION, "master", ConfigConstants.CONFIG_KEY_MERGE, "refs/heads/master");
    config.save();

    FetchOperation fetchOperation = new FetchOperation(repository, remoteConfig, 60, false);
    fetchOperation.run(null);
  }
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.