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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GitHubSCMFileSystem(org.kohsuke.github.GHRepository remoteRepo, GitHubSCMHead<?> head, GitHubSCMRevision rev)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommitSha()
org.kohsuke.github.GHRepository
getRemoteRepo()
jenkins.scm.api.SCMFile
getRoot()
long
lastModified()
-
-
-
Constructor Detail
-
GitHubSCMFileSystem
protected GitHubSCMFileSystem(@NonNull org.kohsuke.github.GHRepository remoteRepo, GitHubSCMHead<?> head, GitHubSCMRevision rev) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getCommitSha
@NonNull public String getCommitSha()
-
getRemoteRepo
@NonNull public org.kohsuke.github.GHRepository getRemoteRepo()
-
lastModified
public long lastModified() throws IOException, InterruptedException
- 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
-
-