Examples of PushJob


Examples of org.eclipse.orion.server.git.jobs.PushJob

    Path p = new Path(path);
    // FIXME: what if a remote or branch is named "file"?
    if (p.segment(2).equals("file")) { //$NON-NLS-1$
      // /git/remote/{remote}/{branch}/file/{path}
      Object cookie = request.getAttribute(GitConstants.KEY_SSO_TOKEN);
      PushJob job = new PushJob(TaskJobHandler.getUserId(request), cp, p, srcRef, tags, force, cookie);
      return TaskJobHandler.handleTaskJob(request, response, job, statusHandler, JsonURIUnqualificationStrategy.ALL_NO_GIT);
    }
    return false;
  }
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.