Uses of Interface
com.atlassian.bitbucket.pull.PullRequest
Packages that use PullRequest
Package
Description
-
Uses of PullRequest in com.atlassian.bitbucket.build.status
Methods in com.atlassian.bitbucket.build.status that return PullRequestModifier and TypeMethodDescriptionBuildStatusPullRequestSearchRequest.getPullRequest()Restrict the search to build statuses on this pull request.Constructors in com.atlassian.bitbucket.build.status with parameters of type PullRequest -
Uses of PullRequest in com.atlassian.bitbucket.comment
Methods in com.atlassian.bitbucket.comment with parameters of type PullRequestModifier and TypeMethodDescriptionAbstractCommentableVisitor.visit(PullRequest pullRequest) CommentableVisitor.visit(PullRequest pullRequest) -
Uses of PullRequest in com.atlassian.bitbucket.commit
Constructors in com.atlassian.bitbucket.commit with parameters of type PullRequestModifierConstructorDescriptionBuilder(PullRequest pullRequest) Creates a newBuilderwith defaults appropriate for retrieving the commits which are included by the specifiedPullRequest. -
Uses of PullRequest in com.atlassian.bitbucket.compare
Constructors in com.atlassian.bitbucket.compare with parameters of type PullRequestModifierConstructorDescriptionBuilder(PullRequest pullRequest) Convenience constructor for creating aBuilderusing the refs from a providedPullRequest. -
Uses of PullRequest in com.atlassian.bitbucket.concurrent
Methods in com.atlassian.bitbucket.concurrent with parameters of type PullRequestModifier and TypeMethodDescription<T,E extends Exception>
TPullRequestLock.withLock(PullRequest pullRequest, Operation<T, E> operation) Performs the providedoperationwhile holding a lock on the specifiedpull request. -
Uses of PullRequest in com.atlassian.bitbucket.event.pull
Methods in com.atlassian.bitbucket.event.pull that return PullRequestConstructors in com.atlassian.bitbucket.event.pull with parameters of type PullRequestModifierConstructorDescriptionPullRequestAutoMergeCancelledEvent(Object source, PullRequest pullRequest, AutoMergeCancelledReason reason) PullRequestAutoMergeRequestedEvent(Object source, PullRequest pullRequest) protectedPullRequestCancelableCommentEvent(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) protectedPullRequestCommentEvent(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) protectedPullRequestEvent(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) protectedPullRequestParticipantStatusUpdatedEvent(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) protectedPullRequestReviewCommentEvent(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) protectedPullRequestReviewEvent(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
Methods in com.atlassian.bitbucket.hook.repository that return PullRequestModifier and TypeMethodDescriptionPullRequestMergeHookRequest.getPullRequest()SimplePullRequestMergeHookRequest.getPullRequest()Constructors in com.atlassian.bitbucket.hook.repository with parameters of type PullRequestModifierConstructorDescriptionBuilder(PullRequest pullRequest) Builder(PullRequest pullRequest, boolean abortOnFirstVeto) -
Uses of PullRequest in com.atlassian.bitbucket.permission
Methods in com.atlassian.bitbucket.permission that return types with arguments of type PullRequestModifier and TypeMethodDescriptionPermissionPredicateFactory.createPullRequestPermissionPredicate(Permission permission) Retrieves aPredicatewhich applies a check to ensure the current user has the specified permission with regards toPullRequests. -
Uses of PullRequest in com.atlassian.bitbucket.pull
Methods in com.atlassian.bitbucket.pull that return PullRequestModifier 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 requestthat 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.Methods in com.atlassian.bitbucket.pull that return types with arguments of type PullRequestModifier and TypeMethodDescriptionPullRequestService.search(PullRequestSearchRequest request, PageRequest pageRequest) Finds a single page of pull requests depending on therequestpassed in.PullRequestService.searchByCommit(PullRequestCommitSearchRequest request, PageRequest pageRequest) Finds a single page of pull requests containing a specified commit which match the givensearch criteria.Methods in com.atlassian.bitbucket.pull with parameters of type PullRequestModifier 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.Constructors in com.atlassian.bitbucket.pull with parameters of type PullRequestModifierConstructorDescriptionprotectedAbstractBuilder(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 currentPullRequestand the version that wasexpected.PullRequestOutOfDateException(KeyedMessage message, Throwable cause, PullRequest pullRequest, int expectedVersion) Constructs aPullRequestOutOfDateException, providing the currentPullRequestand the version that wasexpected. -
Uses of PullRequest in com.atlassian.bitbucket.pull.automerge
Methods in com.atlassian.bitbucket.pull.automerge that return PullRequestModifier 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: thesettingis 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 mergedimmediatelyMethods in com.atlassian.bitbucket.pull.automerge with parameters of type PullRequestModifier and TypeMethodDescriptionAutoMergeService.getAutoMergeRequest(PullRequest pullRequest) Finds anauto-merge requestfor the given pull request.booleanAutoMergeService.isSettingEnabledForPullRequest(PullRequest pullRequest) Constructors in com.atlassian.bitbucket.pull.automerge with parameters of type PullRequestModifierConstructorDescriptionAutoMergeNotRequestedException(KeyedMessage message, PullRequest pullRequest) AutoMergeSettingNotEnabledException(KeyedMessage message, PullRequest pullRequest) -
Uses of PullRequest in com.atlassian.bitbucket.scm
Methods in com.atlassian.bitbucket.scm with parameters of type PullRequestModifier and TypeMethodDescriptionScmService.getPullRequestCommandFactory(PullRequest pullRequest) Retrieves anScmPullRequestCommandFactory, used to createcommandstailored for use operating on pull requests. -
Uses of PullRequest in com.atlassian.bitbucket.scm.pull
Methods in com.atlassian.bitbucket.scm.pull with parameters of type PullRequestModifier 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
Methods in com.atlassian.bitbucket.watcher with parameters of type PullRequest