Class BitbucketServerPullRequest
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.server.client.pullrequest.BitbucketServerPullRequest
- All Implemented Interfaces:
BitbucketPullRequest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionNot set in Cloud.Username or account identifier of the author.Despite the name, this is a display name or nickname for the author, not a stable username for login.getId()
getLink()
getLinks()
getTitle()
void
void
setCanMerge
(Boolean canMerge) void
setDestination
(BitbucketServerPullRequestDestination destination) void
void
setLinks
(Map<String, BitbucketHref> links) void
setReviewers
(List<BitbucketReviewer> reviewers) void
-
Constructor Details
-
BitbucketServerPullRequest
public BitbucketServerPullRequest()
-
-
Method Details
-
getSource
- Specified by:
getSource
in interfaceBitbucketPullRequest
- Returns:
- the source repository of this pull request
-
setSource
-
getDestination
- Specified by:
getDestination
in interfaceBitbucketPullRequest
- Returns:
- the target repository of this pull request
-
setDestination
-
getId
- Specified by:
getId
in interfaceBitbucketPullRequest
- Returns:
- pull request ID as provided by Bitbucket. It can be used for notifications.
-
setId
-
getTitle
- Specified by:
getTitle
in interfaceBitbucketPullRequest
-
getLink
- Specified by:
getLink
in interfaceBitbucketPullRequest
-
getAuthorLogin
Description copied from interface:BitbucketPullRequest
Despite the name, this is a display name or nickname for the author, not a stable username for login.- Specified by:
getAuthorLogin
in interfaceBitbucketPullRequest
-
getReviewers
- Specified by:
getReviewers
in interfaceBitbucketPullRequest
-
setReviewers
-
getAuthorEmail
Description copied from interface:BitbucketPullRequest
Not set in Cloud.- Specified by:
getAuthorEmail
in interfaceBitbucketPullRequest
-
getAuthorIdentifier
Description copied from interface:BitbucketPullRequest
Username or account identifier of the author.- Specified by:
getAuthorIdentifier
in interfaceBitbucketPullRequest
-
setAuthor
-
isCanMerge
-
setCanMerge
-
getLinks
-
setLinks
-