Class BitbucketCloudPullRequestCommit
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.client.pullrequest.BitbucketCloudPullRequestCommit
- All Implemented Interfaces:
BitbucketCommit
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketCommit
getAuthorDate, getCommitter, getCommitterDate, getParents
-
Constructor Details
-
BitbucketCloudPullRequestCommit
public BitbucketCloudPullRequestCommit()
-
-
Method Details
-
getHash
- Specified by:
getHash
in interfaceBitbucketCommit
- Returns:
- the commit hash (complete, not reduced)
-
setHash
-
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
-
getMessage
- Specified by:
getMessage
in interfaceBitbucketCommit
- Returns:
- commit message
-
setMessage
-
getDate
- Specified by:
getDate
in interfaceBitbucketCommit
- Returns:
- the commit date in ISO format
-
setDate
-
getDateMillis
public long getDateMillis()- Specified by:
getDateMillis
in interfaceBitbucketCommit
- Returns:
- commit time in milliseconds (Java timestamp)
-