Class GitHubSCMFileSystem
java.lang.Object
jenkins.scm.api.SCMFileSystem
org.jenkinsci.plugins.github_branch_source.GitHubSCMFileSystem
- All Implemented Interfaces:
- Closeable,- AutoCloseable
public class GitHubSCMFileSystem
extends jenkins.scm.api.SCMFileSystem
Implements 
SCMFileSystem for GitHub.- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class jenkins.scm.api.SCMFileSystemjenkins.scm.api.SCMFileSystem.Builder
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedGitHubSCMFileSystem(org.kohsuke.github.GitHub gitHub, org.kohsuke.github.GHRepository repo, String refName, jenkins.scm.api.SCMRevision rev) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanchangesSince(jenkins.scm.api.SCMRevision revision, OutputStream changeLogStream) voidclose()jenkins.scm.api.SCMFilegetRoot()booleanisOpen()longMethods inherited from class jenkins.scm.api.SCMFileSystemchild, getRevision, isFixedRevision, of, of, of, of, of, supports, supports, supports, supports
- 
Constructor Details- 
GitHubSCMFileSystemprotected GitHubSCMFileSystem(org.kohsuke.github.GitHub gitHub, org.kohsuke.github.GHRepository repo, String refName, @CheckForNull jenkins.scm.api.SCMRevision rev) throws IOException Constructor.- Parameters:
- gitHub- the- GitHub
- repo- the- GHRepository
- refName- the ref name, e.g.- heads/branchName,- tags/tagName,- pull/N/heador the SHA.
- rev- the optional revision.
- Throws:
- IOException- if I/O errors occur.
 
 
- 
- 
Method Details- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- jenkins.scm.api.SCMFileSystem
- Throws:
- IOException
 
- 
isOpenpublic boolean isOpen()
- 
lastModified- Specified by:
- lastModifiedin class- jenkins.scm.api.SCMFileSystem
- Throws:
- IOException
 
- 
changesSincepublic boolean changesSince(jenkins.scm.api.SCMRevision revision, @NonNull OutputStream changeLogStream) throws UnsupportedOperationException, IOException, InterruptedException - Overrides:
- changesSincein class- jenkins.scm.api.SCMFileSystem
- Throws:
- UnsupportedOperationException
- IOException
- InterruptedException
 
- 
getRoot@NonNull public jenkins.scm.api.SCMFile getRoot()- Specified by:
- getRootin class- jenkins.scm.api.SCMFileSystem
 
 
-