Class BitbucketSCMFile
- java.lang.Object
-
- jenkins.scm.api.SCMFile
-
- com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile
-
public class BitbucketSCMFile extends jenkins.scm.api.SCMFile
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
BitbucketSCMFile
@Deprecated public BitbucketSCMFile(BitbucketSCMFileSystem bitBucketSCMFileSystem, BitbucketApi api, String ref)
Deprecated.
-
BitbucketSCMFile
public BitbucketSCMFile(BitbucketSCMFileSystem bitBucketSCMFileSystem, BitbucketApi api, String ref, String hash)
-
BitbucketSCMFile
@Deprecated public BitbucketSCMFile(@NonNull BitbucketSCMFile parent, String name, jenkins.scm.api.SCMFile.Type type)
Deprecated.
-
BitbucketSCMFile
public BitbucketSCMFile(@NonNull BitbucketSCMFile parent, String name, jenkins.scm.api.SCMFile.Type type, String hash)
-
-
Method Detail
-
getRef
public String getRef()
-
setRef
public void setRef(String ref)
-
getHash
public String getHash()
-
children
@NonNull public Iterable<jenkins.scm.api.SCMFile> children() throws IOException, InterruptedException
- Specified by:
children
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-
content
@NonNull public InputStream content() throws IOException, InterruptedException
- Specified by:
content
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-
lastModified
public long lastModified() throws IOException, InterruptedException
- Specified by:
lastModified
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-
newChild
@NonNull protected jenkins.scm.api.SCMFile newChild(String name, boolean assumeIsDirectory)
- Specified by:
newChild
in classjenkins.scm.api.SCMFile
-
type
@NonNull protected jenkins.scm.api.SCMFile.Type type() throws IOException, InterruptedException
- Specified by:
type
in classjenkins.scm.api.SCMFile
- Throws:
IOException
InterruptedException
-
-