Class GitHubSCMFileSystem
java.lang.Object
jenkins.scm.api.SCMFileSystem
com.github.kostyasha.github.integration.multibranch.fs.GitHubSCMFileSystem
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class GitHubSCMFileSystem
extends jenkins.scm.api.SCMFileSystem
- Author:
- Kanstantsin Shautsou
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.scm.api.SCMFileSystem
jenkins.scm.api.SCMFileSystem.Builder
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GitHubSCMFileSystem
(org.kohsuke.github.GHRepository remoteRepo, GitHubSCMHead<?> head, GitHubSCMRevision rev) -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.github.GHRepository
jenkins.scm.api.SCMFile
getRoot()
long
Methods inherited from class jenkins.scm.api.SCMFileSystem
changesSince, child, close, getRevision, isFixedRevision, of, of, of, of, of, supports, supports, supports, supports
-
Constructor Details
-
GitHubSCMFileSystem
protected GitHubSCMFileSystem(@NonNull org.kohsuke.github.GHRepository remoteRepo, GitHubSCMHead<?> head, GitHubSCMRevision rev) throws IOException - Throws:
IOException
-
-
Method Details
-
getCommitSha
-
getRemoteRepo
@NonNull public org.kohsuke.github.GHRepository getRemoteRepo() -
lastModified
- Specified by:
lastModified
in classjenkins.scm.api.SCMFileSystem
- Throws:
IOException
InterruptedException
-
getRoot
@NonNull public jenkins.scm.api.SCMFile getRoot()- Specified by:
getRoot
in classjenkins.scm.api.SCMFileSystem
-