Class BitbucketServerPullRequest
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.server.client.pullrequest.BitbucketServerPullRequest
- All Implemented Interfaces:
BitbucketPullRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
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()voidvoidsetCanMerge(Boolean canMerge) voidsetDestination(BitbucketServerPullRequestDestination destination) voidvoidsetLinks(Map<String, BitbucketHref> links) voidsetReviewers(List<BitbucketReviewer> reviewers) void
-
Constructor Details
-
BitbucketServerPullRequest
public BitbucketServerPullRequest()
-
-
Method Details
-
getSource
- Specified by:
getSourcein interfaceBitbucketPullRequest- Returns:
- the source repository of this pull request
-
setSource
-
getDestination
- Specified by:
getDestinationin interfaceBitbucketPullRequest- Returns:
- the target repository of this pull request
-
setDestination
-
getId
- Specified by:
getIdin interfaceBitbucketPullRequest- Returns:
- pull request ID as provided by Bitbucket. It can be used for notifications.
-
setId
-
getTitle
- Specified by:
getTitlein interfaceBitbucketPullRequest
-
getLink
- Specified by:
getLinkin interfaceBitbucketPullRequest
-
getAuthorLogin
Description copied from interface:BitbucketPullRequestDespite the name, this is a display name or nickname for the author, not a stable username for login.- Specified by:
getAuthorLoginin interfaceBitbucketPullRequest
-
getReviewers
- Specified by:
getReviewersin interfaceBitbucketPullRequest
-
setReviewers
-
getAuthorEmail
Description copied from interface:BitbucketPullRequestNot set in Cloud.- Specified by:
getAuthorEmailin interfaceBitbucketPullRequest
-
getAuthorIdentifier
Description copied from interface:BitbucketPullRequestUsername or account identifier of the author.- Specified by:
getAuthorIdentifierin interfaceBitbucketPullRequest
-
setAuthor
-
isCanMerge
-
setCanMerge
-
getLinks
-
setLinks
-