Class DiversionSCMFileSystemBuilder

java.lang.Object
jenkins.scm.api.SCMFileSystem.Builder
io.superstudios.plugins.diversion.DiversionSCMFileSystemBuilder
All Implemented Interfaces:
ExtensionPoint

@Extension public class DiversionSCMFileSystemBuilder extends jenkins.scm.api.SCMFileSystem.Builder
Builder for creating DiversionSCMFileSystem instances. This tells Jenkins how to create a file system for Diversion SCM sources.
  • Constructor Details

    • DiversionSCMFileSystemBuilder

      public DiversionSCMFileSystemBuilder()
  • Method Details

    • supports

      public boolean supports(SCM source)
      Specified by:
      supports in class jenkins.scm.api.SCMFileSystem.Builder
    • supports

      public boolean supports(jenkins.scm.api.SCMSource source)
      Specified by:
      supports in class jenkins.scm.api.SCMFileSystem.Builder
    • supportsDescriptor

      public boolean supportsDescriptor(jenkins.scm.api.SCMSourceDescriptor descriptor)
      Specified by:
      supportsDescriptor in class jenkins.scm.api.SCMFileSystem.Builder
    • supportsDescriptor

      public boolean supportsDescriptor(SCMDescriptor descriptor)
      Specified by:
      supportsDescriptor in class jenkins.scm.api.SCMFileSystem.Builder
    • build

      @CheckForNull public jenkins.scm.api.SCMFileSystem build(@NonNull Item owner, @NonNull SCM scm, @CheckForNull jenkins.scm.api.SCMRevision rev) throws IOException, InterruptedException
      Overrides:
      build in class jenkins.scm.api.SCMFileSystem.Builder
      Throws:
      IOException
      InterruptedException
    • build

      @CheckForNull public jenkins.scm.api.SCMFileSystem build(@NonNull jenkins.scm.api.SCMSource source, @NonNull jenkins.scm.api.SCMHead head, @CheckForNull jenkins.scm.api.SCMRevision rev) throws IOException, InterruptedException
      Overrides:
      build in class jenkins.scm.api.SCMFileSystem.Builder
      Throws:
      IOException
      InterruptedException