Class RootVcsDir
- java.lang.Object
-
- jetbrains.buildServer.vcs.browser.RootVcsDir
-
- All Implemented Interfaces:
Comparable<VcsFile>,VcsFile
public class RootVcsDir extends Object implements VcsFile
- Author:
- dmitry.neverov
-
-
Constructor Summary
Constructors Constructor Description RootVcsDir()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(VcsFile o)byte[]getContent()StringgetFullPath()StringgetName()booleanisDirectory()
-
-
-
Method Detail
-
getName
@NotNull public String getName()
-
getFullPath
@NotNull public String getFullPath()
- Specified by:
getFullPathin interfaceVcsFile- Returns:
- path taking into account checkout rules of VCS roots
-
isDirectory
public boolean isDirectory()
- Specified by:
isDirectoryin interfaceVcsFile- Returns:
- true if this file is directory
-
getContent
@NotNull public byte[] getContent() throws VcsException- Specified by:
getContentin interfaceVcsFile- Returns:
- binary content of the file
- Throws:
VcsException- in case of any VCS errors or when file is directory
-
compareTo
public int compareTo(VcsFile o)
- Specified by:
compareToin interfaceComparable<VcsFile>
-
-