Class GitHubSCMFileSystemBuilder
- java.lang.Object
-
- jenkins.scm.api.SCMFileSystem.Builder
-
- com.github.kostyasha.github.integration.multibranch.fs.GitHubSCMFileSystemBuilder
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class GitHubSCMFileSystemBuilder extends jenkins.scm.api.SCMFileSystem.Builder
- Author:
- Kanstantsin Shautsou
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GitHubSCMFileSystemBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jenkins.scm.api.SCMFileSystem
build(Item owner, SCM scm, jenkins.scm.api.SCMRevision rev)
jenkins.scm.api.SCMFileSystem
build(jenkins.scm.api.SCMSource source, jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision rev)
boolean
supports(SCM source)
boolean
supports(jenkins.scm.api.SCMSource source)
protected boolean
supportsDescriptor(SCMDescriptor descriptor)
protected boolean
supportsDescriptor(jenkins.scm.api.SCMSourceDescriptor descriptor)
-
-
-
Method Detail
-
supports
public boolean supports(jenkins.scm.api.SCMSource source)
- Specified by:
supports
in classjenkins.scm.api.SCMFileSystem.Builder
-
supportsDescriptor
protected boolean supportsDescriptor(SCMDescriptor descriptor)
- Specified by:
supportsDescriptor
in classjenkins.scm.api.SCMFileSystem.Builder
-
supportsDescriptor
protected boolean supportsDescriptor(jenkins.scm.api.SCMSourceDescriptor descriptor)
- Specified by:
supportsDescriptor
in classjenkins.scm.api.SCMFileSystem.Builder
-
build
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 classjenkins.scm.api.SCMFileSystem.Builder
- Throws:
IOException
InterruptedException
-
supports
public boolean supports(SCM source)
- Specified by:
supports
in classjenkins.scm.api.SCMFileSystem.Builder
-
build
public jenkins.scm.api.SCMFileSystem build(@NonNull Item owner, @NonNull SCM scm, @CheckForNull jenkins.scm.api.SCMRevision rev) throws IOException, InterruptedException
- Overrides:
build
in classjenkins.scm.api.SCMFileSystem.Builder
- Throws:
IOException
InterruptedException
-
-