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