Class BitbucketPullRequestValue
- java.lang.Object
-
- com.cloudbees.jenkins.plugins.bitbucket.client.pullrequest.BitbucketPullRequestValue
-
- All Implemented Interfaces:
BitbucketPullRequest
public class BitbucketPullRequestValue extends Object implements BitbucketPullRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BitbucketPullRequestValue.Author
static class
BitbucketPullRequestValue.Links
-
Constructor Summary
Constructors Constructor Description BitbucketPullRequestValue()
-
Method Summary
All Methods Instance Methods Concrete 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.BitbucketPullRequestValueDestination
getDestination()
String
getId()
String
getLink()
List<BitbucketReviewer>
getReviewers()
BitbucketPullRequestValueRepository
getSource()
String
getTitle()
void
setAuthor(BitbucketPullRequestValue.Author author)
void
setDestination(BitbucketPullRequestValueDestination destination)
void
setId(String id)
void
setLinks(BitbucketPullRequestValue.Links link)
void
setReviewers(List<BitbucketReviewer> reviewers)
void
setSource(BitbucketPullRequestValueRepository source)
void
setTitle(String title)
-
-
-
Method Detail
-
getSource
public BitbucketPullRequestValueRepository getSource()
- Specified by:
getSource
in interfaceBitbucketPullRequest
- Returns:
- the source repository of this pull request
-
setSource
public void setSource(BitbucketPullRequestValueRepository source)
-
getDestination
public BitbucketPullRequestValueDestination getDestination()
- Specified by:
getDestination
in interfaceBitbucketPullRequest
- Returns:
- the target repository of this pull request
-
setDestination
public void setDestination(BitbucketPullRequestValueDestination destination)
-
getId
public String getId()
- Specified by:
getId
in interfaceBitbucketPullRequest
- Returns:
- pull request ID as provided by Bitbucket. It can be used for notifications.
-
setId
public void setId(String id)
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceBitbucketPullRequest
-
getLink
public String getLink()
- Specified by:
getLink
in interfaceBitbucketPullRequest
-
getAuthorLogin
public String 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
-
getAuthorEmail
public String getAuthorEmail()
Description copied from interface:BitbucketPullRequest
Not set in Cloud.- Specified by:
getAuthorEmail
in interfaceBitbucketPullRequest
-
getAuthorIdentifier
public String getAuthorIdentifier()
Description copied from interface:BitbucketPullRequest
Username or account identifier of the author.- Specified by:
getAuthorIdentifier
in interfaceBitbucketPullRequest
-
setTitle
public void setTitle(String title)
-
setLinks
public void setLinks(BitbucketPullRequestValue.Links link)
-
setAuthor
public void setAuthor(BitbucketPullRequestValue.Author author)
-
getReviewers
public List<BitbucketReviewer> getReviewers()
- Specified by:
getReviewers
in interfaceBitbucketPullRequest
-
setReviewers
public void setReviewers(List<BitbucketReviewer> reviewers)
-
-