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:
children
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-
content
- Specified by:
content
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-
lastModified
- Specified by:
lastModified
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-
newChild
- Specified by:
newChild
in classjenkins.scm.api.SCMFile
-
child
@NonNull public BitbucketSCMFile child(@NonNull String path, @NonNull jenkins.scm.api.SCMFile.Type type) -
type
- Specified by:
type
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-