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 Summary
Constructors Constructor Description ExtendedPullRequestService(ExtendedGitHubClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendedCommitComment
createComment2(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id, ExtendedCommitComment comment)
void
createReview(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id, String commitId, String event, String body)
void
createReviewRequests(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id, List<String> reviewers, List<String> teamReviewers)
void
deleteBranch(org.eclipse.egit.github.core.IRepositoryIdProvider repository, String branchReference)
void
deleteReviewRequests(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id, List<String> reviewers, List<String> teamReviewers)
ExtendedCommitComment
editComment2(org.eclipse.egit.github.core.IRepositoryIdProvider repository, ExtendedCommitComment comment)
protected Map<String,Object>
editPrMap(ExtendedPullRequest request)
ExtendedPullRequest
editPullRequest(org.eclipse.egit.github.core.IRepositoryIdProvider repository, ExtendedPullRequest request)
ExtendedGitHubClient
getClient()
ExtendedPullRequest
getPullRequest(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id)
ExtendedMergeStatus
merge(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id, String commitTitle, String commitMessage, String sha, String mergeMethod)
org.eclipse.egit.github.core.client.PageIterator<ExtendedCommitComment>
pageComments2(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id)
org.eclipse.egit.github.core.client.PageIterator<org.eclipse.egit.github.core.User>
pageRequestedReviewers(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id)
org.eclipse.egit.github.core.client.PageIterator<org.eclipse.egit.github.core.Team>
pageRequestedTeamReviewers(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id)
org.eclipse.egit.github.core.client.PageIterator<Review>
pageReviews(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id)
ExtendedCommitComment
replyToComment2(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int pullRequestId, int commentId, String body)
-
Methods inherited from class org.eclipse.egit.github.core.service.PullRequestService
createComment, createPullRequest, createPullRequest, createPullsRequest, deleteComment, editComment, editPullRequest, getComment, getComments, getCommits, getFiles, getPullRequests, isMerged, merge, pageComments, pageComments, pageComments, pagePullRequests, pagePullRequests, pagePullRequests, replyToComment
-
-
-
-
Constructor Detail
-
ExtendedPullRequestService
public ExtendedPullRequestService(ExtendedGitHubClient client)
-
-
Method Detail
-
getClient
public ExtendedGitHubClient getClient()
- Overrides:
getClient
in classorg.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 classorg.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
-
-