package

com.atlassian.bitbucket.pull

Interfaces

PullRequest  
PullRequestActivity A pull request activity, used to track significant events in a pull request's lifecycle. 
PullRequestActivityPage<T extends PullRequestActivity> A Page of activities allowing clients to both advance and reverse from this page by using the results of getPreviousPageStartId() and getNextPageRequest()
PullRequestActivityVisitor  
PullRequestCommentActivity A PullRequestActivity representing a comment action made on the contents of the pull request. 
PullRequestDiffCommentAnchor A DiffCommentAnchor that is associated with a pull request. 
PullRequestMergeability Describes whether a pull request can merge and why this is so. 
PullRequestMergeActivity A PullRequestActivity representing when the pull request was merged. 
PullRequestMergeVeto Represents the details of a merge request veto. 
PullRequestParticipant Describes a participant on a pull request. 
PullRequestRef A ref involved in a pull request, linking to the repository the ref is in. 
PullRequestRescopeActivity A PullRequestActivity added when the source or target ref of the pull request moves. 
PullRequestService A service for the management of pull requests and their comments. 
PullRequestSupplier Allows retrieving pull requests by their target repository and ID
RescopeDetails Lists the commits added or removed by a pull request rescope

Classes

Enums

PullRequestAction Enumerates the actions which can be taken on a pull request, defining the activities that may occur. 
PullRequestActivityType Types of activities that can be searched. 
PullRequestDirection Specified the direction of a pull request relative to a subject repository and branch. 
PullRequestEntityType Enumerates types of entities connected with a pull request. 
PullRequestOrder Specifies the direction a list of results should be ordered - oldest first or newest first. 
PullRequestRole Enumerates the possible roles a participant can have in a pull request. 
PullRequestState Enumerates the possible states a pull request can be in. 

Exceptions

DuplicatePullRequestException Indicates a pull request could not be created because there is already an open pull request with the same to/from repositories and branches. 
EmptyPullRequestException Indicates a pull request could not be created because it would have no commits. 
IllegalPullRequestStateException Thrown when an operation fails because the pull request is not in the expected state
InvalidPullRequestParticipantException Indicates an operation to mutate particulars of an existing pull request participant or an operation to add a participant to a pull request is invalid. 
InvalidPullRequestReviewersException Indicates one or more reviewers could not be added to a new or existing pull request because the users either don't exist, don't have permission to view the pull request. 
InvalidPullRequestRoleException Indicates the supplied role is invalid for the current operation  
InvalidPullRequestTargetException  
NoSuchParticipantException Indicates that the person specified in the operation is not a participant of the pull request. 
NoSuchPullRequestException Indicates that a pull request was requested that does not exist. 
PullRequestMergeCanceledException Thrown when PullRequestService#merge(int, long, int) merging a pull request is canceled by an event listener. 
PullRequestMergeVetoedException Indicates a pull request merge request was vetoed by one or more merge-check plugin modules. 
PullRequestOpenCanceledException Thrown when an event listener cancels the event raised before a pull request is opened. 
PullRequestOutOfDateException A specialization of EntityOutOfDateException thrown when a PullRequest's version is out-of-date. 
UnmodifiablePullRequestRoleException Thrown when attempting to modify the author of a pull request.