Class DiversionSCMFile
java.lang.Object
jenkins.scm.api.SCMFile
io.superstudios.plugins.diversion.DiversionSCMFile
public class DiversionSCMFile
extends jenkins.scm.api.SCMFile
Represents a file or directory in a Diversion repository.
Used by Jenkins Global Libraries to navigate and read library files.
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.scm.api.SCMFile
jenkins.scm.api.SCMFile.Type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDiversionSCMFile(DiversionSCMFileSystem fileSystem, String path, DiversionApiClient apiClient, String repositoryId, String branchId) -
Method Summary
Methods inherited from class jenkins.scm.api.SCMFile
child, contentAsBytes, contentAsString, contentEncoding, contentMimeType, exists, getName, getType, isContentBinary, isContentText, isDirectory, isFile, isRoot, parent, type
-
Constructor Details
-
DiversionSCMFile
protected DiversionSCMFile(@NonNull DiversionSCMFileSystem fileSystem, @NonNull String path, DiversionApiClient apiClient, String repositoryId, String branchId)
-
-
Method Details
-
newChild
@NonNull protected jenkins.scm.api.SCMFile newChild(@NonNull 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
- Specified by:
lastModifiedin classjenkins.scm.api.SCMFile- Throws:
IOExceptionInterruptedException
-
type
- Specified by:
typein classjenkins.scm.api.SCMFile- Throws:
IOExceptionInterruptedException
-
content
- Specified by:
contentin classjenkins.scm.api.SCMFile- Throws:
IOExceptionInterruptedException
-
getPath
- Overrides:
getPathin classjenkins.scm.api.SCMFile
-