Package jenkins.plugins.git
Class GitSCMFile
- java.lang.Object
-
- jenkins.scm.api.SCMFile
-
- jenkins.plugins.git.GitSCMFile
-
public class GitSCMFile extends jenkins.scm.api.SCMFileImplementation ofSCMFilefor 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()InputStreamcontent()longlastModified()protected jenkins.scm.api.SCMFilenewChild(String name, boolean assumeIsDirectory)protected jenkins.scm.api.SCMFile.Typetype()
-
-
-
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:
newChildin classjenkins.scm.api.SCMFile
-
children
@NonNull public Iterable<jenkins.scm.api.SCMFile> children() throws IOException, InterruptedException
- Specified by:
childrenin classjenkins.scm.api.SCMFile- Throws:
IOExceptionInterruptedException
-
lastModified
public long lastModified() throws IOException, InterruptedException- Specified by:
lastModifiedin classjenkins.scm.api.SCMFile- Throws:
IOExceptionInterruptedException
-
type
@NonNull protected jenkins.scm.api.SCMFile.Type type() throws IOException, InterruptedException- Specified by:
typein classjenkins.scm.api.SCMFile- Throws:
IOExceptionInterruptedException
-
content
@NonNull public InputStream content() throws IOException, InterruptedException
- Specified by:
contentin classjenkins.scm.api.SCMFile- Throws:
IOExceptionInterruptedException
-
-