Class BitbucketSCMFile
- java.lang.Object
 - 
- jenkins.scm.api.SCMFile
 - 
- com.atlassian.bitbucket.jenkins.internal.scm.filesystem.BitbucketSCMFile
 
 
 
- 
public class BitbucketSCMFile extends jenkins.scm.api.SCMFile- Since:
 - 3.0.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description BitbucketSCMFile(BitbucketFilePathClient client, String ref)Constructor for the root BitbucketSCMFileBitbucketSCMFile(BitbucketSCMFile parent, String name, jenkins.scm.api.SCMFile.Type type)Constructor for any child file/directory 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<jenkins.scm.api.SCMFile>children()InputStreamcontent()StringgetFilePath()Optional<String>getRef()longlastModified()protected jenkins.scm.api.SCMFilenewChild(String name, boolean assumeIsDirectory)protected jenkins.scm.api.SCMFile.Typetype() 
 - 
 
- 
- 
Constructor Detail
- 
BitbucketSCMFile
public BitbucketSCMFile(BitbucketFilePathClient client, @Nullable String ref)
Constructor for the root BitbucketSCMFile 
- 
BitbucketSCMFile
public BitbucketSCMFile(BitbucketSCMFile parent, String name, jenkins.scm.api.SCMFile.Type type)
Constructor for any child file/directory 
 - 
 
- 
Method Detail
- 
newChild
protected jenkins.scm.api.SCMFile newChild(String name, boolean assumeIsDirectory)
- Specified by:
 newChildin classjenkins.scm.api.SCMFile
 
- 
children
public Iterable<jenkins.scm.api.SCMFile> children() throws IOException, InterruptedException
- Specified by:
 childrenin classjenkins.scm.api.SCMFile- Throws:
 IOExceptionInterruptedException
 
- 
getFilePath
public String getFilePath()
 
- 
lastModified
public long lastModified()
- Specified by:
 lastModifiedin classjenkins.scm.api.SCMFile
 
- 
type
protected jenkins.scm.api.SCMFile.Type type() throws IOException, InterruptedException- Specified by:
 typein classjenkins.scm.api.SCMFile- Throws:
 IOExceptionInterruptedException
 
- 
content
public InputStream content() throws IOException, InterruptedException
- Specified by:
 contentin classjenkins.scm.api.SCMFile- Throws:
 IOExceptionInterruptedException
 
 - 
 
 -