Class BitbucketPullRequestSCMRevision
- java.lang.Object
-
- jenkins.scm.api.SCMRevision
-
- jenkins.scm.api.mixin.ChangeRequestSCMRevision<BitbucketPullRequestSCMHead>
-
- com.atlassian.bitbucket.jenkins.internal.scm.BitbucketPullRequestSCMRevision
-
- All Implemented Interfaces:
Serializable
public class BitbucketPullRequestSCMRevision extends jenkins.scm.api.mixin.ChangeRequestSCMRevision<BitbucketPullRequestSCMHead>
- Since:
- 4.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BitbucketPullRequestSCMRevision(BitbucketPullRequestSCMHead head)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
_hashCode()
boolean
equivalent(jenkins.scm.api.mixin.ChangeRequestSCMRevision<?> o)
String
getCommitHash()
The commit hash of the pull request source branch (source ref)String
toString()
-
-
-
Constructor Detail
-
BitbucketPullRequestSCMRevision
public BitbucketPullRequestSCMRevision(BitbucketPullRequestSCMHead head)
-
-
Method Detail
-
getCommitHash
public String getCommitHash()
The commit hash of the pull request source branch (source ref)
-
equivalent
public boolean equivalent(jenkins.scm.api.mixin.ChangeRequestSCMRevision<?> o)
- Specified by:
equivalent
in classjenkins.scm.api.mixin.ChangeRequestSCMRevision<BitbucketPullRequestSCMHead>
-
_hashCode
protected int _hashCode()
- Specified by:
_hashCode
in classjenkins.scm.api.mixin.ChangeRequestSCMRevision<BitbucketPullRequestSCMHead>
-
toString
public String toString()
- Overrides:
toString
in classjenkins.scm.api.SCMRevision
-
-