Package jetbrains.buildServer.vcs
Interface VcsFile
-
- All Superinterfaces:
Comparable<VcsFile>
- All Known Implementing Classes:
RootVcsDir
,VcsFileImpl
public interface VcsFile extends Comparable<VcsFile>
- Author:
- dmitry.neverov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getContent()
String
getFullPath()
String
getName()
boolean
isDirectory()
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getName
@NotNull String getName()
- Returns:
- name of the file
-
getFullPath
@NotNull String getFullPath()
- Returns:
- path taking into account checkout rules of VCS roots
-
isDirectory
boolean isDirectory()
- Returns:
- true if this file is directory
-
getContent
@NotNull byte[] getContent() throws VcsException
- Returns:
- binary content of the file
- Throws:
VcsException
- in case of any VCS errors or when file is directory
-
-