Uses of Interface
com.atlassian.bitbucket.pull.PullRequest
Package
Description
-
Uses of PullRequest in com.atlassian.bitbucket.build.status
Modifier and TypeMethodDescriptionBuildStatusPullRequestSearchRequest.getPullRequest()
Restrict the search to build statuses on this pull request. -
Uses of PullRequest in com.atlassian.bitbucket.comment
Modifier and TypeMethodDescriptionAbstractCommentableVisitor.visit
(PullRequest pullRequest) CommentableVisitor.visit
(PullRequest pullRequest) -
Uses of PullRequest in com.atlassian.bitbucket.commit
ModifierConstructorDescriptionBuilder
(PullRequest pullRequest) Creates a newBuilder
with defaults appropriate for retrieving the commits which are included by the specifiedPullRequest
. -
Uses of PullRequest in com.atlassian.bitbucket.compare
ModifierConstructorDescriptionBuilder
(PullRequest pullRequest) Convenience constructor for creating aBuilder
using the refs from a providedPullRequest
. -
Uses of PullRequest in com.atlassian.bitbucket.concurrent
Modifier and TypeMethodDescription<T,
E extends Exception>
TPullRequestLock.withLock
(PullRequest pullRequest, Operation<T, E> operation) Performs the providedoperation
while holding a lock on the specifiedpull request
. -
Uses of PullRequest in com.atlassian.bitbucket.event.pull
ModifierConstructorDescriptionPullRequestAutoMergeCancelledEvent
(Object source, PullRequest pullRequest, AutoMergeCancelledReason reason) PullRequestAutoMergeRequestedEvent
(Object source, PullRequest pullRequest) protected
PullRequestCancelableCommentEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent, CommentAction commentAction, CancelState cancelState) PullRequestCommentAddedEvent
(Object source, PullRequest pullRequest, Comment comment) PullRequestCommentAddRequestedEvent
(Object source, PullRequest pullRequest, Comment comment, CancelState cancelState) PullRequestCommentDeletedEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent) PullRequestCommentDeletionRequestedEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent, CancelState cancelState) PullRequestCommentEditedEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent, String previousText, CommentSeverity previousSeverity, CommentState previousState) protected
PullRequestCommentEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent, CommentAction commentAction) Constructs a newPullRequestCommentEvent
.PullRequestCommentModificationRequestedEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent, String previousText, CancelState cancelState) PullRequestCommentRepliedEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent) PullRequestCommentReplyRequestedEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent, CancelState cancelState) PullRequestDeclinedEvent
(Object source, PullRequest pullRequest) PullRequestDeletedEvent
(Object source, PullRequest pullRequest, Collection<Watcher> watchers) PullRequestDeletionRequestedEvent
(Object source, PullRequest pullRequest, CancelState cancelState) protected
PullRequestEvent
(Object source, PullRequest pullRequest, PullRequestAction action) Constructs a newPullRequestEvent
.PullRequestMergedEvent
(Object source, PullRequest pullRequest) Constructs a newPullRequestMergedEvent
.PullRequestMergedEvent
(Object source, PullRequest pullRequest, MinimalCommit commit, String message) Constructs a newPullRequestMergedEvent
.PullRequestMergedEvent
(Object source, PullRequest pullRequest, MinimalCommit commit, String message, String strategyId, boolean autoMerge) Constructs a newPullRequestMergedEvent
.PullRequestOpenedEvent
(Object source, PullRequest pullRequest) PullRequestOpenRequestedEvent
(Object source, PullRequest pullRequest, Set<ApplicationUser> reviewers, CancelState cancelState) PullRequestParticipantApprovedEvent
(Object source, PullRequest pullRequest, PullRequestParticipant participant, PullRequestParticipantStatus previous) PullRequestParticipantReviewedEvent
(Object source, PullRequest pullRequest, PullRequestParticipant participant, PullRequestParticipantStatus previous) protected
PullRequestParticipantStatusUpdatedEvent
(Object source, PullRequest pullRequest, PullRequestAction action, PullRequestParticipant participant, PullRequestParticipantStatus previousStatus) Constructs a newPullRequestEvent
.PullRequestParticipantsUpdatedEvent
(Object source, PullRequest pullRequest, Set<ApplicationUser> added, Set<ApplicationUser> removed) PullRequestParticipantUnapprovedEvent
(Object source, PullRequest pullRequest, PullRequestParticipant participant, PullRequestParticipantStatus previous) PullRequestReopenedEvent
(Object source, PullRequest pullRequest, String previousFromHash, String previousToHash) PullRequestRescopedEvent
(Object source, PullRequest pullRequest, String previousFromHash, String previousToHash) PullRequestRescopedEvent
(Object source, PullRequest pullRequest, String previousFromHash, String previousToHash, RescopeDetails addedCommits, RescopeDetails removedCommits) PullRequestReviewCommentAddedEvent
(Object source, PullRequest pullRequest, Comment comment) protected
PullRequestReviewCommentEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent, CommentAction commentAction) PullRequestReviewCommentRepliedEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent) PullRequestReviewDiscardedEvent
(Object source, PullRequest pullRequest) PullRequestReviewersUpdatedEvent
(Object source, PullRequest pullRequest, Set<ApplicationUser> added, Set<ApplicationUser> removed) protected
PullRequestReviewEvent
(Object source, PullRequest pullRequest, PullRequestAction action) PullRequestReviewFinishedEvent
(Object source, int commentCount, PullRequest pullRequest, boolean addedComment, PullRequestParticipantStatus participantStatus) PullRequestUpdatedEvent
(Object source, PullRequest pullRequest, String previousTitle, String previousDescription, Ref previousToBranch, boolean previousDraft) -
Uses of PullRequest in com.atlassian.bitbucket.hook.repository
Modifier and TypeMethodDescriptionPullRequestMergeHookRequest.getPullRequest()
SimplePullRequestMergeHookRequest.getPullRequest()
ModifierConstructorDescriptionBuilder
(PullRequest pullRequest) Builder
(PullRequest pullRequest, boolean abortOnFirstVeto) -
Uses of PullRequest in com.atlassian.bitbucket.permission
Modifier and TypeMethodDescriptionPermissionPredicateFactory.createPullRequestPermissionPredicate
(Permission permission) Retrieves aPredicate
which applies a check to ensure the current user has the specified permission with regards toPullRequest
s. -
Uses of PullRequest in com.atlassian.bitbucket.pull
Modifier and TypeMethodDescriptionPullRequestService.create
(PullRequestCreateRequest request) Creates a pull request from the supplied details.PullRequestService.decline
(PullRequestDeclineRequest request) Declines a pull request.PullRequestService.getById
(int repositoryId, long pullRequestId) Retrieves a pull request by its ID, within the specified repository.PullRequestSupplier.getById
(int repositoryId, long pullRequestId) Retrieves a pull request by its ID, within the specified repository.DuplicatePullRequestException.getExistingPullRequest()
PullRequestActivity.getPullRequest()
PullRequestDeletionDisabledException.getPullRequest()
PullRequestFinishReviewRequest.getPullRequest()
Get thepull request
that is used for the review.PullRequestOutOfDateException.getPullRequest()
Retrieves the current state for the pull request, if it was available when the exception was thrown.PullRequestParticipant.getPullRequest()
PullRequestService.merge
(PullRequestMergeRequest request) Merges a pull request.PullRequestService.reopen
(int repositoryId, long pullRequestId, int version) Reopens a pull request.PullRequestService.update
(PullRequestUpdateRequest request) Updates a pull request's title, description, and participants.Modifier and TypeMethodDescriptionPullRequestService.search
(PullRequestSearchRequest request, PageRequest pageRequest) Finds a single page of pull requests depending on therequest
passed in.PullRequestService.searchByCommit
(PullRequestCommitSearchRequest request, PageRequest pageRequest) Finds a single page of pull requests containing a specified commit which match the givensearch criteria
.Modifier and TypeMethodDescriptionPullRequestCommitEnricher.enrich
(PullRequest pullRequest, Commit commit, Collection<String> propertyKeys) Enrich a single commit with properties from theCommitIndex
.PullRequestCommitEnricher.enrichPage
(PullRequest pullRequest, Page<Commit> page, Collection<String> propertyKeys) Enrich a page of commits with properties from theCommitIndex
.ModifierConstructorDescriptionprotected
AbstractBuilder
(PullRequest pullRequest) Builder
(PullRequest pullRequest) Builder
(PullRequest pullRequest) Builder
(PullRequest pullRequest) Builder
(PullRequest pullRequest, int version) Builder
(PullRequest pullRequest) Builder
(PullRequest pullRequest, String path) Builder
(PullRequest pullRequest) Builder
(PullRequest pullRequest) Builder
(PullRequest pullRequest) Builder
(PullRequest pullRequest) Builder
(PullRequest pullRequest) Builder
(PullRequest pullRequest, int version) DuplicatePullRequestException
(PullRequest pullRequest, KeyedMessage message) PullRequestDeletionDisabledException
(KeyedMessage message, PullRequest pullRequest) PullRequestOutOfDateException
(KeyedMessage message, PullRequest pullRequest, int expectedVersion) Constructs aPullRequestOutOfDateException
, providing the currentPullRequest
and the version that wasexpected
.PullRequestOutOfDateException
(KeyedMessage message, Throwable cause, PullRequest pullRequest, int expectedVersion) Constructs aPullRequestOutOfDateException
, providing the currentPullRequest
and the version that wasexpected
. -
Uses of PullRequest in com.atlassian.bitbucket.pull.automerge
Modifier and TypeMethodDescriptionAutoMergeService.cancelAutoMerge
(int repositoryId, long pullRequestId, AutoMergeCancelledReason cancelledReason) Cancels the automatic merging of the pull request by the system with a provided reason, and logs the cancellation as apull request activity
.AutoMergeNotRequestedException.getPullRequest()
AutoMergeRequest.getPullRequest()
AutoMergeSettingNotEnabledException.getPullRequest()
AutoMergeService.submitAutoMergeRequest
(PullRequestMergeRequest pullRequestMergeRequest) Creates an auto-merge request for the provided pull request with all the parameters from the provided merge request, if all the following conditions are met: thesetting
is enabled for the repository that the pull request targets auto-merge is not already requested for this pull request there are no merge conflicts on the pull request the pull requestcannot be merged
immediatelyModifier and TypeMethodDescriptionAutoMergeService.getAutoMergeRequest
(PullRequest pullRequest) Finds anauto-merge request
for the given pull request.boolean
AutoMergeService.isSettingEnabledForPullRequest
(PullRequest pullRequest) ModifierConstructorDescriptionAutoMergeNotRequestedException
(KeyedMessage message, PullRequest pullRequest) AutoMergeSettingNotEnabledException
(KeyedMessage message, PullRequest pullRequest) -
Uses of PullRequest in com.atlassian.bitbucket.scm
Modifier and TypeMethodDescriptionScmService.getPullRequestCommandFactory
(PullRequest pullRequest) Retrieves anScmPullRequestCommandFactory
, used to createcommands
tailored for use operating on pull requests. -
Uses of PullRequest in com.atlassian.bitbucket.scm.pull
Modifier and TypeMethodDescriptionScmPullRequestCommandFactory.tryMerge
(PullRequest pullRequest) Attempt to merge the pull request to determine what the expected result of actually merging it would be. -
Uses of PullRequest in com.atlassian.bitbucket.watcher