Class SCMHeadWithOwnerAndRepo.GitMigrationImpl
java.lang.Object
jenkins.scm.api.SCMHeadMigration<BitbucketSCMSource,SCMHeadWithOwnerAndRepo.PR,jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl>
com.cloudbees.jenkins.plugins.bitbucket.SCMHeadWithOwnerAndRepo.GitMigrationImpl
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- SCMHeadWithOwnerAndRepo
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension
public static class SCMHeadWithOwnerAndRepo.GitMigrationImpl
extends jenkins.scm.api.SCMHeadMigration<BitbucketSCMSource,SCMHeadWithOwnerAndRepo.PR,jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl>
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmigrate
(BitbucketSCMSource source, SCMHeadWithOwnerAndRepo.PR head) jenkins.scm.api.SCMRevision
migrate
(BitbucketSCMSource source, jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl revision) Methods inherited from class jenkins.scm.api.SCMHeadMigration
getSCMHeadClass, getSCMRevisionClass, getSCMSourceClass, readResolveSCMHead, readResolveSCMRevision
-
Constructor Details
-
GitMigrationImpl
public GitMigrationImpl()
-
-
Method Details
-
migrate
public PullRequestSCMHead migrate(@NonNull BitbucketSCMSource source, @NonNull SCMHeadWithOwnerAndRepo.PR head) - Specified by:
migrate
in classjenkins.scm.api.SCMHeadMigration<BitbucketSCMSource,
SCMHeadWithOwnerAndRepo.PR, jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl>
-
migrate
public jenkins.scm.api.SCMRevision migrate(@NonNull BitbucketSCMSource source, @NonNull jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl revision) - Overrides:
migrate
in classjenkins.scm.api.SCMHeadMigration<BitbucketSCMSource,
SCMHeadWithOwnerAndRepo.PR, jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl>
-