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
-
Field Summary
Fields inherited from class org.eclipse.egit.github.core.service.PullRequestService
PR_BASE, PR_BODY, PR_HEAD, PR_STATE, PR_TITLE
Fields inherited from class org.eclipse.egit.github.core.service.GitHubService
ACCEPT_DIFF, ACCEPT_FULL, ACCEPT_HTML, ACCEPT_PATCH, ACCEPT_PREVIEW_DRAX, ACCEPT_PREVIEW_IRONMAN, ACCEPT_PREVIEW_LOKI, ACCEPT_RAW, ACCEPT_TEXT, client
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateComment2
(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) editComment2
(org.eclipse.egit.github.core.IRepositoryIdProvider repository, ExtendedCommitComment comment) editPrMap
(ExtendedPullRequest request) editPullRequest
(org.eclipse.egit.github.core.IRepositoryIdProvider repository, ExtendedPullRequest request) getPullRequest
(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int id) 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) 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
Methods inherited from class org.eclipse.egit.github.core.service.GitHubService
check, createPagedRequest, createPagedRequest, createPageIterator, createRequest, getAll, getAll, getId, verifyRepository
-
Constructor Details
-
ExtendedPullRequestService
-
-
Method Details
-
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
-
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
-