Class OrasSCMFileSystemBuilder
java.lang.Object
jenkins.scm.api.SCMFileSystem.Builder
io.jenkins.plugins.scmoras.OrasSCMFileSystemBuilder
- All Implemented Interfaces:
ExtensionPoint
Provides
OrasSCMFileSystem instances, enabling Pipeline's "lightweight checkout" for OrasSCM:
a single file (typically the Jenkinsfile) can be read directly from the packaged artifact without extracting
the whole repository to disk.-
Nested Class Summary
Nested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjenkins.scm.api.SCMFileSystembooleanbooleansupports(jenkins.scm.api.SCMSource source) protected booleansupportsDescriptor(SCMDescriptor descriptor) protected booleansupportsDescriptor(jenkins.scm.api.SCMSourceDescriptor descriptor) Methods inherited from class jenkins.scm.api.SCMFileSystem.Builder
build, build, supports, supports
-
Constructor Details
-
OrasSCMFileSystemBuilder
public OrasSCMFileSystemBuilder()
-
-
Method Details
-
supports
- Specified by:
supportsin classjenkins.scm.api.SCMFileSystem.Builder
-
supports
public boolean supports(jenkins.scm.api.SCMSource source) - Specified by:
supportsin classjenkins.scm.api.SCMFileSystem.Builder
-
supportsDescriptor
- Specified by:
supportsDescriptorin classjenkins.scm.api.SCMFileSystem.Builder
-
supportsDescriptor
protected boolean supportsDescriptor(jenkins.scm.api.SCMSourceDescriptor descriptor) - Specified by:
supportsDescriptorin classjenkins.scm.api.SCMFileSystem.Builder
-
build
@CheckForNull public jenkins.scm.api.SCMFileSystem build(@NonNull Item owner, @NonNull SCM scm, @CheckForNull jenkins.scm.api.SCMRevision rev, @CheckForNull Run<?, ?> build) throws IOException- Overrides:
buildin classjenkins.scm.api.SCMFileSystem.Builder- Throws:
IOException
-