public interface PullRequestMethods
Modifier and Type | Method and Description |
---|---|
PullRequest |
addPullRequest(AddPullRequestParams params)
Add a pull request.
|
PullRequestComment |
addPullRequestComment(AddPullRequestCommentParams params)
Add a comment on the pull request.
|
Attachment |
deletePullRequestAttachment(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number,
java.lang.Object attachmentId)
Deletes the attachment file on the pull request.
|
AttachmentData |
downloadPullRequestAttachment(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number,
java.lang.Object attachmentId)
Returns the attachment file data on the pull request.
|
PullRequest |
getPullRequest(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number)
Returns the pull request.
|
ResponseList<Attachment> |
getPullRequestAttachments(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number)
Returns the pull request attachment list.
|
int |
getPullRequestCommentCount(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number)
Returns the pull request comment count.
|
ResponseList<PullRequestComment> |
getPullRequestComments(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number,
QueryParams params)
Returns the comments of pull requests.
|
int |
getPullRequestCount(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName)
Returns the count of the pull requests.
|
int |
getPullRequestCount(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
PullRequestQueryParams params)
Returns the count of the pull requests.
|
ResponseList<PullRequest> |
getPullRequests(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName)
Returns the pull requests of the repository.
|
ResponseList<PullRequest> |
getPullRequests(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
PullRequestQueryParams params)
Returns the pull requests of the repository.
|
PullRequest |
updatePullRequest(UpdatePullRequestParams params)
Update a pull request.
|
PullRequestComment |
updatePullRequestComment(UpdatePullRequestCommentParams params)
Updates the pull request comment.
|
ResponseList<PullRequest> getPullRequests(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName) throws BacklogException
projectIdOrKey
- the project identifierrepoIdOrName
- the repository nameBacklogException
ResponseList<PullRequest> getPullRequests(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, PullRequestQueryParams params) throws BacklogException
projectIdOrKey
- the project identifierrepoIdOrName
- the repository nameparams
- the finding pull request parameters.BacklogException
int getPullRequestCount(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName) throws BacklogException
projectIdOrKey
- the project identifierrepoIdOrName
- the repository nameBacklogException
int getPullRequestCount(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, PullRequestQueryParams params) throws BacklogException
projectIdOrKey
- the project identifierrepoIdOrName
- the repository nameparams
- the finding pull request parameters.BacklogException
PullRequest addPullRequest(AddPullRequestParams params) throws BacklogException
params
- the pull request adding parametersBacklogException
PullRequest updatePullRequest(UpdatePullRequestParams params) throws BacklogException
params
- the pull request updating parametersBacklogException
PullRequest getPullRequest(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number) throws BacklogException
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierBacklogException
ResponseList<PullRequestComment> getPullRequestComments(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number, QueryParams params) throws BacklogException
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierparams
- the finding pull request comments parameters.BacklogException
PullRequestComment addPullRequestComment(AddPullRequestCommentParams params) throws BacklogException
params
- the adding pull request comment parameters.BacklogException
int getPullRequestCommentCount(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number) throws BacklogException
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierBacklogException
PullRequestComment updatePullRequestComment(UpdatePullRequestCommentParams params) throws BacklogException
params
- the pull request comment updating parametersBacklogException
ResponseList<Attachment> getPullRequestAttachments(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number) throws BacklogException
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierBacklogException
AttachmentData downloadPullRequestAttachment(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number, java.lang.Object attachmentId) throws BacklogException
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierattachmentId
- the pull request attachment identifierBacklogException
Attachment deletePullRequestAttachment(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number, java.lang.Object attachmentId) throws BacklogException
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierattachmentId
- the pull request attachment identifierBacklogException