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

    Constructors
    Modifier
    Constructor
    Description
    protected
    GitHubSCMFileSystem(org.kohsuke.github.GHRepository remoteRepo, GitHubSCMHead<?> head, GitHubSCMRevision rev)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.kohsuke.github.GHRepository
     
    jenkins.scm.api.SCMFile
     
    long
     

    Methods inherited from class jenkins.scm.api.SCMFileSystem

    changesSince, child, close, getRevision, isFixedRevision, of, of, of, of, of, supports, supports, supports, supports

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getCommitSha

      @NonNull public String getCommitSha()
    • getRemoteRepo

      @NonNull public org.kohsuke.github.GHRepository getRemoteRepo()
    • lastModified

      public long lastModified() throws IOException, InterruptedException
      Specified by:
      lastModified in class jenkins.scm.api.SCMFileSystem
      Throws:
      IOException
      InterruptedException
    • getRoot

      @NonNull public jenkins.scm.api.SCMFile getRoot()
      Specified by:
      getRoot in class jenkins.scm.api.SCMFileSystem