Class BitbucketCloudCommit
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.client.branch.BitbucketCloudCommit
- All Implemented Interfaces:
- BitbucketCommit
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionBitbucketCloudCommit(String message, String date, String hash, BitbucketCloudAuthor author, BitbucketCloudAuthor committer, List<BitbucketCloudCommit.Parent> parents) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the head commit author for this branch.Returns the head commit author date for this branch.Returns the head committer for this branch.Returns the head committer date for this branch.getDate()Deprecated, for removal: This API element is subject to removal in a future version.longDeprecated, for removal: This API element is subject to removal in a future version.getHash()Returns the SHA1 parents of this commit.voidvoidsetCommitter(String committer) voidsetCommitterDate(Date committerDate) voidvoidsetMessage(String message) 
- 
Constructor Details- 
BitbucketCloudCommitpublic BitbucketCloudCommit(@Nullable String message, @Nullable String date, @NonNull String hash, @Nullable BitbucketCloudAuthor author, @Nullable BitbucketCloudAuthor committer, @Nullable List<BitbucketCloudCommit.Parent> parents) 
 
- 
- 
Method Details- 
getMessage- Specified by:
- getMessagein interface- BitbucketCommit
- Returns:
- commit message
 
- 
setMessage
- 
getHash- Specified by:
- getHashin interface- BitbucketCommit
- Returns:
- the commit hash (complete, not reduced)
 
- 
setHash
- 
getDateDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
- getDatein interface- BitbucketCommit
- Returns:
- the commit date in ISO format
 
- 
getDateMillisDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
- getDateMillisin interface- BitbucketCommit
- Returns:
- commit time in milliseconds (Java timestamp)
 
- 
getAuthorDescription copied from interface:BitbucketCommitReturns the head commit author for this branch.- Specified by:
- getAuthorin interface- BitbucketCommit
- Returns:
- the head commit author of this branch
 
- 
setAuthor
- 
getAuthorDateDescription copied from interface:BitbucketCommitReturns the head commit author date for this branch.If not supported by the server returns the same value of committer date. - Specified by:
- getAuthorDatein interface- BitbucketCommit
- Returns:
- the author date in ISO format
 
- 
getCommitterDescription copied from interface:BitbucketCommitReturns the head committer for this branch.- Specified by:
- getCommitterin interface- BitbucketCommit
- Returns:
- the head committer author of this branch
 
- 
setCommitter
- 
getCommitterDateDescription copied from interface:BitbucketCommitReturns the head committer date for this branch.- Specified by:
- getCommitterDatein interface- BitbucketCommit
- Returns:
- the author date in ISO format
 
- 
setCommitterDate
- 
getParentsDescription copied from interface:BitbucketCommitReturns the SHA1 parents of this commit.- Specified by:
- getParentsin interface- BitbucketCommit
- Returns:
- a list of parent SHA1 commit.
 
 
-