Interface BitbucketPullRequest
-
- All Known Implementing Classes:
BitbucketPullRequestValue
,BitbucketServerPullRequest
public interface BitbucketPullRequest
Represents a pull request in Bitbucket. Only the source repository is necessary, the destination repo is inferred.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAuthorEmail()
Not set in Cloud.String
getAuthorIdentifier()
Username or account identifier of the author.String
getAuthorLogin()
Despite the name, this is a display name or nickname for the author, not a stable username for login.BitbucketPullRequestDestination
getDestination()
String
getId()
String
getLink()
List<BitbucketReviewer>
getReviewers()
BitbucketPullRequestSource
getSource()
String
getTitle()
-
-
-
Method Detail
-
getSource
BitbucketPullRequestSource getSource()
- Returns:
- the source repository of this pull request
-
getDestination
BitbucketPullRequestDestination getDestination()
- Returns:
- the target repository of this pull request
-
getId
@NonNull String getId()
- Returns:
- pull request ID as provided by Bitbucket. It can be used for notifications.
-
getTitle
String getTitle()
-
getLink
String getLink()
-
getAuthorLogin
String getAuthorLogin()
Despite the name, this is a display name or nickname for the author, not a stable username for login.
-
getAuthorEmail
String getAuthorEmail()
Not set in Cloud.
-
getAuthorIdentifier
String getAuthorIdentifier()
Username or account identifier of the author.
-
getReviewers
List<BitbucketReviewer> getReviewers()
-
-