Class BitbucketCloudCommit
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.client.branch.BitbucketCloudCommit
- All Implemented Interfaces:
BitbucketCommit
-
Constructor Summary
ConstructorDescriptionBitbucketCloudCommit
(String message, String date, String hash, BitbucketCloudAuthor author) -
Method Summary
-
Constructor Details
-
BitbucketCloudCommit
public BitbucketCloudCommit(@Nullable String message, @Nullable String date, @NonNull String hash, @Nullable BitbucketCloudAuthor author)
-
-
Method Details
-
getMessage
- Specified by:
getMessage
in interfaceBitbucketCommit
- Returns:
- commit message
-
getDate
- Specified by:
getDate
in interfaceBitbucketCommit
- Returns:
- the commit date in ISO format
-
getHash
- Specified by:
getHash
in interfaceBitbucketCommit
- Returns:
- the commit hash (complete, not reduced)
-
setMessage
-
setDate
-
setHash
-
getDateMillis
public long getDateMillis()- Specified by:
getDateMillis
in interfaceBitbucketCommit
- Returns:
- commit time in milliseconds (Java timestamp)
-
getAuthor
Description copied from interface:BitbucketCommit
Returns the head commit author for this branch.- Specified by:
getAuthor
in interfaceBitbucketCommit
- Returns:
- the head commit author of this branch
-
setAuthor
-