Class ExtendedPullRequestService

java.lang.Object
org.eclipse.egit.github.core.service.GitHubService
org.eclipse.egit.github.core.service.PullRequestService
org.jenkinsci.plugins.pipeline.github.client.ExtendedPullRequestService

public class ExtendedPullRequestService extends org.eclipse.egit.github.core.service.PullRequestService
Author:
Aaron Whiteside
  • Constructor Details

  • Method Details

    • getClient

      public ExtendedGitHubClient getClient()
      Overrides:
      getClient in class org.eclipse.egit.github.core.service.GitHubService
    • editPullRequest

      public ExtendedPullRequest editPullRequest(org.eclipse.egit.github.core.IRepositoryIdProvider repository, ExtendedPullRequest request)
    • editPrMap

      protected Map<String,Object> editPrMap(ExtendedPullRequest request)
    • getPullRequest

      public ExtendedPullRequest getPullRequest(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id)
      Overrides:
      getPullRequest in class org.eclipse.egit.github.core.service.PullRequestService
    • merge

      public ExtendedMergeStatus merge(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id, String commitTitle, String commitMessage, String sha, String mergeMethod) throws IOException
      Throws:
      IOException
    • pageComments2

      public org.eclipse.egit.github.core.client.PageIterator<ExtendedCommitComment> pageComments2(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id)
    • createComment2

      public ExtendedCommitComment createComment2(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id, ExtendedCommitComment comment) throws IOException
      Throws:
      IOException
    • replyToComment2

      public ExtendedCommitComment replyToComment2(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int pullRequestId, int commentId, String body) throws IOException
      Throws:
      IOException
    • editComment2

      public ExtendedCommitComment editComment2(org.eclipse.egit.github.core.IRepositoryIdProvider repository, ExtendedCommitComment comment) throws IOException
      Throws:
      IOException
    • pageRequestedReviewers

      public org.eclipse.egit.github.core.client.PageIterator<org.eclipse.egit.github.core.User> pageRequestedReviewers(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id)
    • pageRequestedTeamReviewers

      public org.eclipse.egit.github.core.client.PageIterator<org.eclipse.egit.github.core.Team> pageRequestedTeamReviewers(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id)
    • pageReviews

      public org.eclipse.egit.github.core.client.PageIterator<Review> pageReviews(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id)
    • createReview

      public void createReview(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id, String commitId, String event, String body) throws IOException
      Throws:
      IOException
    • createReviewRequests

      public void createReviewRequests(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id, List<String> reviewers, List<String> teamReviewers) throws IOException
      Throws:
      IOException
    • deleteReviewRequests

      public void deleteReviewRequests(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id, List<String> reviewers, List<String> teamReviewers) throws IOException
      Throws:
      IOException
    • deleteBranch

      public void deleteBranch(org.eclipse.egit.github.core.IRepositoryIdProvider repository, String branchReference) throws IOException
      Throws:
      IOException