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>
  • 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 class jenkins.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 class jenkins.scm.api.SCMHeadMigration<GitHubSCMSource,jenkins.scm.api.SCMHead,jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl>