Package com.atlassian.bitbucket.pull
Class AbstractPullRequestRequest
java.lang.Object
com.atlassian.bitbucket.pull.AbstractPullRequestRequest
- Direct Known Subclasses:
PullRequestActivitySearchRequest
,PullRequestChangesRequest
,PullRequestCommitsRequest
,PullRequestDeclineRequest
,PullRequestDeleteRequest
,PullRequestDiffRequest
,PullRequestDiffStatsSummaryRequest
,PullRequestDiscardReviewRequest
,PullRequestMergeRequest
,PullRequestParticipantStatusRequest
,PullRequestUpdateRequest
Base class for requests affecting pull requests.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
-
Constructor Details
-
AbstractPullRequestRequest
protected AbstractPullRequestRequest(@Nonnull AbstractPullRequestRequest.AbstractBuilder<?> builder) - Parameters:
builder
- a builder specifying the repository and pull request ID
-
-
Method Details
-
getPullRequestId
public long getPullRequestId()- Returns:
- the ID of the pull request within the repository
-
getRepositoryId
public int getRepositoryId()- Returns:
- the ID of the repository to which the pull request will be merged
-