Class BitbucketGitSCMRevision
java.lang.Object
jenkins.scm.api.SCMRevision
jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl
com.cloudbees.jenkins.plugins.bitbucket.BitbucketGitSCMRevision
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BitbucketTagSCMRevision
public class BitbucketGitSCMRevision
extends jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl
Represents a specific revision of a bitbucket 
SCMHead.- Since:
- 2.2.14
- Author:
- Nikolas Falco
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionBitbucketGitSCMRevision(jenkins.scm.api.SCMHead head, BitbucketCommit commit) Construct a Bitbucket revision.
- 
Method SummaryMethods inherited from class jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImplgetHash, toStringMethods inherited from class jenkins.scm.api.SCMRevisiongetHead, isDeterministic
- 
Constructor Details- 
BitbucketGitSCMRevisionpublic BitbucketGitSCMRevision(@NonNull jenkins.scm.api.SCMHead head, @NonNull BitbucketCommit commit) Construct a Bitbucket revision.- Parameters:
- head- the- SCMHeadthat represent this revision
- commit- head
 
 
- 
- 
Method Details- 
getAuthorReturns the author of this revision in GIT format.- Returns:
- commit author in the following format <name> <email>
 
- 
getMessageReturns the message associated with this revision.- Returns:
- revision message
 
- 
getDateReturn the revision date in ISO format.- Returns:
- date for this revision
 
- 
equals- Overrides:
- equalsin class- jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl
 
 
-