public class BitbucketSCMFile extends jenkins.scm.api.SCMFile
jenkins.scm.api.SCMFile.Type
Constructor and Description |
---|
BitbucketSCMFile(BitbucketSCMFile parent,
String name,
jenkins.scm.api.SCMFile.Type type)
Deprecated.
|
BitbucketSCMFile(BitbucketSCMFile parent,
String name,
jenkins.scm.api.SCMFile.Type type,
String hash) |
BitbucketSCMFile(BitbucketSCMFileSystem bitBucketSCMFileSystem,
BitbucketApi api,
String ref)
Deprecated.
|
BitbucketSCMFile(BitbucketSCMFileSystem bitBucketSCMFileSystem,
BitbucketApi api,
String ref,
String hash) |
Modifier and Type | Method and Description |
---|---|
Iterable<jenkins.scm.api.SCMFile> |
children() |
InputStream |
content() |
String |
getHash() |
String |
getRef() |
long |
lastModified() |
protected jenkins.scm.api.SCMFile |
newChild(String name,
boolean assumeIsDirectory) |
void |
setRef(String ref) |
protected jenkins.scm.api.SCMFile.Type |
type() |
child, contentAsBytes, contentAsString, contentEncoding, contentMimeType, exists, getName, getPath, getType, isContentBinary, isContentText, isDirectory, isFile, isRoot, parent, type
@Deprecated public BitbucketSCMFile(BitbucketSCMFileSystem bitBucketSCMFileSystem, BitbucketApi api, String ref)
public BitbucketSCMFile(BitbucketSCMFileSystem bitBucketSCMFileSystem, BitbucketApi api, String ref, String hash)
@Deprecated public BitbucketSCMFile(@NonNull BitbucketSCMFile parent, String name, jenkins.scm.api.SCMFile.Type type)
public BitbucketSCMFile(@NonNull BitbucketSCMFile parent, String name, jenkins.scm.api.SCMFile.Type type, String hash)
public String getRef()
public void setRef(String ref)
public String getHash()
@NonNull public Iterable<jenkins.scm.api.SCMFile> children() throws IOException, InterruptedException
children
in class jenkins.scm.api.SCMFile
IOException
InterruptedException
@NonNull public InputStream content() throws IOException, InterruptedException
content
in class jenkins.scm.api.SCMFile
IOException
InterruptedException
public long lastModified() throws IOException, InterruptedException
lastModified
in class jenkins.scm.api.SCMFile
IOException
InterruptedException
@NonNull protected jenkins.scm.api.SCMFile newChild(String name, boolean assumeIsDirectory)
newChild
in class jenkins.scm.api.SCMFile
@NonNull protected jenkins.scm.api.SCMFile.Type type() throws IOException, InterruptedException
type
in class jenkins.scm.api.SCMFile
IOException
InterruptedException
Copyright © 2016–2022. All rights reserved.