Class GitHubSCMFile
- java.lang.Object
-
- jenkins.scm.api.SCMFile
-
- com.github.kostyasha.github.integration.multibranch.fs.GitHubSCMFile
-
public class GitHubSCMFile extends jenkins.scm.api.SCMFile
- Author:
- Kanstantsin Shautsou
-
-
Constructor Summary
Constructors Constructor Description GitHubSCMFile(GitHubSCMFile parent, String name)
GitHubSCMFile(GitHubSCMFileSystem fs)
GitHubSCMFile(GitHubSCMFileSystem fs, GitHubSCMFile parent, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<jenkins.scm.api.SCMFile>
children()
InputStream
content()
long
lastModified()
protected jenkins.scm.api.SCMFile
newChild(String child, boolean assumeIsDirectory)
protected jenkins.scm.api.SCMFile.Type
type()
-
-
-
Constructor Detail
-
GitHubSCMFile
public GitHubSCMFile(GitHubSCMFileSystem fs)
-
GitHubSCMFile
public GitHubSCMFile(GitHubSCMFileSystem fs, GitHubSCMFile parent, String name)
-
GitHubSCMFile
public GitHubSCMFile(@NonNull GitHubSCMFile parent, String name)
-
-
Method Detail
-
newChild
@NonNull protected jenkins.scm.api.SCMFile newChild(@NonNull String child, boolean assumeIsDirectory)
- Specified by:
newChild
in classjenkins.scm.api.SCMFile
-
children
@NonNull public Iterable<jenkins.scm.api.SCMFile> children() throws IOException, InterruptedException
- Specified by:
children
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-
lastModified
public long lastModified() throws IOException, InterruptedException
- Specified by:
lastModified
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-
type
@NonNull protected jenkins.scm.api.SCMFile.Type type() throws IOException, InterruptedException
- Specified by:
type
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-
content
@NonNull public InputStream content() throws IOException, InterruptedException
- Specified by:
content
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-
-