Package jenkins.plugins.git
Class GitBranchSCMHead.SCMHeadMigrationImpl
java.lang.Object
jenkins.scm.api.SCMHeadMigration<GitSCMSource,jenkins.scm.api.SCMHead,AbstractGitSCMSource.SCMRevisionImpl>
jenkins.plugins.git.GitBranchSCMHead.SCMHeadMigrationImpl
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- GitBranchSCMHead
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension
public static class GitBranchSCMHead.SCMHeadMigrationImpl
extends jenkins.scm.api.SCMHeadMigration<GitSCMSource,jenkins.scm.api.SCMHead,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
(GitSCMSource source, AbstractGitSCMSource.SCMRevisionImpl revision) jenkins.scm.api.SCMHead
migrate
(GitSCMSource source, jenkins.scm.api.SCMHead head) Methods inherited from class jenkins.scm.api.SCMHeadMigration
getSCMHeadClass, getSCMRevisionClass, getSCMSourceClass, readResolveSCMHead, readResolveSCMRevision
-
Constructor Details
-
SCMHeadMigrationImpl
public SCMHeadMigrationImpl()
-
-
Method Details
-
migrate
public jenkins.scm.api.SCMHead migrate(@NonNull GitSCMSource source, @NonNull jenkins.scm.api.SCMHead head) - Specified by:
migrate
in classjenkins.scm.api.SCMHeadMigration<GitSCMSource,
jenkins.scm.api.SCMHead, AbstractGitSCMSource.SCMRevisionImpl>
-
migrate
public jenkins.scm.api.SCMRevision migrate(@NonNull GitSCMSource source, @NonNull AbstractGitSCMSource.SCMRevisionImpl revision) - Overrides:
migrate
in classjenkins.scm.api.SCMHeadMigration<GitSCMSource,
jenkins.scm.api.SCMHead, AbstractGitSCMSource.SCMRevisionImpl>
-