Class PullRequestSCMHead
java.lang.Object
jenkins.scm.api.SCMHead
com.cloudbees.jenkins.plugins.bitbucket.PullRequestSCMHead
- All Implemented Interfaces:
Serializable
,Comparable<jenkins.scm.api.SCMHead>
,jenkins.scm.api.mixin.ChangeRequestSCMHead
,jenkins.scm.api.mixin.ChangeRequestSCMHead2
,jenkins.scm.api.mixin.SCMHeadMixin
- Direct Known Subclasses:
PullRequestSCMHead.FixLegacy
,SCMHeadWithOwnerAndRepo.PR
public class PullRequestSCMHead
extends jenkins.scm.api.SCMHead
implements jenkins.scm.api.mixin.ChangeRequestSCMHead2
SCMHead
for a Bitbucket pull request- Since:
- 2.0.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Deprecated.used for data migration.static class
Deprecated.used for data migration.Nested classes/interfaces inherited from class jenkins.scm.api.SCMHead
jenkins.scm.api.SCMHead.HeadByItem
Nested classes/interfaces inherited from interface jenkins.scm.api.mixin.SCMHeadMixin
jenkins.scm.api.mixin.SCMHeadMixin.Equality
-
Field Summary
Fields inherited from class jenkins.scm.api.SCMHead
PRONOUN
-
Constructor Summary
ConstructorDescriptionPullRequestSCMHead
(String repoOwner, String repository, String branchName, BitbucketPullRequest pr) Deprecated.PullRequestSCMHead
(String repoOwner, String repository, String branchName, BitbucketPullRequest pr, jenkins.scm.api.SCMHeadOrigin origin) Deprecated.PullRequestSCMHead
(String name, String repoOwner, String repository, String branchName, BitbucketPullRequest pr, jenkins.scm.api.SCMHeadOrigin origin, jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy strategy) PullRequestSCMHead
(String repoOwner, String repository, String branchName, String number, BranchSCMHead target) Deprecated.PullRequestSCMHead
(String repoOwner, String repository, String branchName, String number, BranchSCMHead target, jenkins.scm.api.SCMHeadOrigin origin) Deprecated.PullRequestSCMHead
(String repoOwner, String repository, String branchName, String number, String title, BranchSCMHead target, jenkins.scm.api.SCMHeadOrigin origin) Deprecated.PullRequestSCMHead
(String name, String repoOwner, String repository, String branchName, String number, String title, BranchSCMHead target, jenkins.scm.api.SCMHeadOrigin origin, jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy strategy) -
Method Summary
Methods inherited from class jenkins.scm.api.SCMHead
compareTo, equals, getAction, getAllActions, getName, 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
Methods inherited from interface jenkins.scm.api.mixin.SCMHeadMixin
getName
-
Constructor Details
-
PullRequestSCMHead
-
PullRequestSCMHead
public PullRequestSCMHead(String name, String repoOwner, String repository, String branchName, BitbucketPullRequest pr, jenkins.scm.api.SCMHeadOrigin origin, jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy strategy) -
PullRequestSCMHead
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public PullRequestSCMHead(String repoOwner, String repository, String branchName, String number, BranchSCMHead target, jenkins.scm.api.SCMHeadOrigin origin) Deprecated. -
PullRequestSCMHead
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public PullRequestSCMHead(String repoOwner, String repository, String branchName, String number, String title, BranchSCMHead target, jenkins.scm.api.SCMHeadOrigin origin) Deprecated. -
PullRequestSCMHead
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public PullRequestSCMHead(String repoOwner, String repository, String branchName, String number, BranchSCMHead target) Deprecated. -
PullRequestSCMHead
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public PullRequestSCMHead(String repoOwner, String repository, String branchName, BitbucketPullRequest pr) Deprecated. -
PullRequestSCMHead
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public PullRequestSCMHead(String repoOwner, String repository, String branchName, BitbucketPullRequest pr, jenkins.scm.api.SCMHeadOrigin origin) Deprecated.
-
-
Method Details
-
getPronoun
- Overrides:
getPronoun
in classjenkins.scm.api.SCMHead
-
getRepoOwner
-
getRepository
-
getBranchName
-
getId
- Specified by:
getId
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead
-
getTitle
-
getTarget
@NonNull public jenkins.scm.api.SCMHead getTarget()- Specified by:
getTarget
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead
-
getCheckoutStrategy
@NonNull public jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy getCheckoutStrategy()- Specified by:
getCheckoutStrategy
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead2
-
getOriginName
- Specified by:
getOriginName
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead2
-
getOrigin
@NonNull public jenkins.scm.api.SCMHeadOrigin getOrigin()- Specified by:
getOrigin
in interfacejenkins.scm.api.mixin.SCMHeadMixin
- Overrides:
getOrigin
in classjenkins.scm.api.SCMHead
-