Class BitbucketPullRequestSCMHead
- java.lang.Object
-
- jenkins.scm.api.SCMHead
-
- com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMHead
-
- com.atlassian.bitbucket.jenkins.internal.scm.BitbucketPullRequestSCMHead
-
- All Implemented Interfaces:
Serializable
,Comparable<jenkins.scm.api.SCMHead>
,jenkins.scm.api.mixin.ChangeRequestSCMHead
,jenkins.scm.api.mixin.ChangeRequestSCMHead2
,jenkins.scm.api.mixin.SCMHeadMixin
public class BitbucketPullRequestSCMHead extends BitbucketSCMHead implements jenkins.scm.api.mixin.ChangeRequestSCMHead2
- Since:
- 4.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BitbucketPullRequestSCMHead(BitbucketPullRequest pullRequest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy
getCheckoutStrategy()
String
getFullRef()
String
getId()
String
getOriginName()
MinimalPullRequest
getPullRequest()
BitbucketSCMHead
getTarget()
-
Methods inherited from class com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMHead
getLatestCommit, getUpdatedDate
-
Methods inherited from class jenkins.scm.api.SCMHead
compareTo, equals, getAction, getAllActions, getName, getOrigin, getPronoun, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Constructor Detail
-
BitbucketPullRequestSCMHead
public BitbucketPullRequestSCMHead(BitbucketPullRequest pullRequest)
-
-
Method Detail
-
getCheckoutStrategy
public jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy getCheckoutStrategy()
- Specified by:
getCheckoutStrategy
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead2
-
getFullRef
public String getFullRef()
- Specified by:
getFullRef
in classBitbucketSCMHead
-
getId
public String getId()
- Specified by:
getId
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead
-
getTarget
public BitbucketSCMHead getTarget()
- Specified by:
getTarget
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead
-
getOriginName
public String getOriginName()
- Specified by:
getOriginName
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead2
-
getPullRequest
public MinimalPullRequest getPullRequest()
-
-