Package jenkins.plugins.git
Class GitSCMFile
- java.lang.Object
-
- jenkins.scm.api.SCMFile
-
- jenkins.plugins.git.GitSCMFile
-
public class GitSCMFile extends jenkins.scm.api.SCMFile
Implementation ofSCMFile
for Git.- Since:
- 3.0.2
-
-
Constructor Summary
Constructors Constructor Description GitSCMFile(GitSCMFileSystem fs)
GitSCMFile(GitSCMFileSystem fs, GitSCMFile 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 name, boolean assumeIsDirectory)
protected jenkins.scm.api.SCMFile.Type
type()
-
-
-
Constructor Detail
-
GitSCMFile
public GitSCMFile(GitSCMFileSystem fs)
-
GitSCMFile
public GitSCMFile(GitSCMFileSystem fs, @NonNull GitSCMFile parent, String name)
-
-
Method Detail
-
newChild
@NonNull protected jenkins.scm.api.SCMFile newChild(String name, 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
-
-