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
ConstructorsModifierConstructorDescriptionprotectedGitHubSCMFileSystem(org.kohsuke.github.GHRepository remoteRepo, GitHubSCMHead<?> head, GitHubSCMRevision rev) -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.github.GHRepositoryjenkins.scm.api.SCMFilegetRoot()longMethods 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:
lastModifiedin classjenkins.scm.api.SCMFileSystem- Throws:
IOExceptionInterruptedException
-
getRoot
@NonNull public jenkins.scm.api.SCMFile getRoot()- Specified by:
getRootin classjenkins.scm.api.SCMFileSystem
-