Package com.facebook.buck.io
Class BuildCellRelativePath
- java.lang.Object
-
- com.facebook.buck.io.BuildCellRelativePath
-
public abstract class BuildCellRelativePath extends Object
A path which is relative to the build cell root, i.e. the top-level cell in which the build was invoked.
-
-
Constructor Summary
Constructors Constructor Description BuildCellRelativePath()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
check()
Check the path is relative.static BuildCellRelativePath
fromCellRelativePath(AbsPath buildCellRootPath, ProjectFilesystem cellProjectFilesystem, Path cellRelativeOrAbsolutePath)
static BuildCellRelativePath
fromCellRelativePath(Path buildCellRootPath, ProjectFilesystem cellProjectFilesystem, Path cellRelativeOrAbsolutePath)
abstract Path
getPathRelativeToBuildCellRoot()
static BuildCellRelativePath
of(Path pathRelativeToBuildCellRoot)
String
toString()
-
-
-
Method Detail
-
getPathRelativeToBuildCellRoot
public abstract Path getPathRelativeToBuildCellRoot()
-
check
@Check protected void check()
Check the path is relative.
-
fromCellRelativePath
public static BuildCellRelativePath fromCellRelativePath(Path buildCellRootPath, ProjectFilesystem cellProjectFilesystem, Path cellRelativeOrAbsolutePath)
-
fromCellRelativePath
public static BuildCellRelativePath fromCellRelativePath(AbsPath buildCellRootPath, ProjectFilesystem cellProjectFilesystem, Path cellRelativeOrAbsolutePath)
-
of
public static BuildCellRelativePath of(Path pathRelativeToBuildCellRoot)
-
-