Class BitbucketSCMFile
java.lang.Object
jenkins.scm.api.SCMFile
com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile
public class BitbucketSCMFile
extends jenkins.scm.api.SCMFile
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.scm.api.SCMFile
jenkins.scm.api.SCMFile.Type -
Constructor Summary
ConstructorsConstructorDescriptionBitbucketSCMFile(BitbucketApi api, String ref, String hash) BitbucketSCMFile(BitbucketSCMFile parent, String name, jenkins.scm.api.SCMFile.Type type, String hash) -
Method Summary
Methods inherited from class jenkins.scm.api.SCMFile
child, contentAsBytes, contentAsString, contentEncoding, contentMimeType, exists, getName, getPath, getType, isContentBinary, isContentText, isDirectory, isFile, isRoot, parent, type
-
Constructor Details
-
BitbucketSCMFile
-
BitbucketSCMFile
public BitbucketSCMFile(BitbucketSCMFile parent, String name, @CheckForNull jenkins.scm.api.SCMFile.Type type, String hash)
-
-
Method Details
-
getRef
-
setRef
-
getHash
-
setType
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setType(jenkins.scm.api.SCMFile.Type type) -
children
@NonNull public Iterable<jenkins.scm.api.SCMFile> children() throws IOException, InterruptedException- Specified by:
childrenin classjenkins.scm.api.SCMFile- Throws:
IOExceptionInterruptedException
-
content
- Specified by:
contentin classjenkins.scm.api.SCMFile- Throws:
IOExceptionInterruptedException
-
lastModified
- Specified by:
lastModifiedin classjenkins.scm.api.SCMFile- Throws:
IOExceptionInterruptedException
-
newChild
- Specified by:
newChildin classjenkins.scm.api.SCMFile
-
child
@NonNull public BitbucketSCMFile child(@NonNull String path, @NonNull jenkins.scm.api.SCMFile.Type type) -
type
- Specified by:
typein classjenkins.scm.api.SCMFile- Throws:
IOExceptionInterruptedException
-