public interface Cell
ProjectFilesystem
s are equal.
Should only be constructed by CellProvider
.
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Cell> |
getAllCells()
Returns a list of all cells, including this cell.
|
BuckConfig |
getBuckConfig() |
<T extends ConfigView<BuckConfig>> |
getBuckConfigView(Class<T> cls)
|
CanonicalCellName |
getCanonicalName() |
Cell |
getCell(CanonicalCellName cellName) |
Cell |
getCell(Path cellPath) |
Cell |
getCellIgnoringVisibilityCheck(Path cellPath) |
CellNameResolver |
getCellNameResolver()
Return the
CellNameResolver for this cell. |
CellPathResolver |
getCellPathResolver() |
CellProvider |
getCellProvider() |
ProjectFilesystem |
getFilesystem() |
ProjectFilesystemView |
getFilesystemViewForSourceFiles() |
com.google.common.collect.ImmutableSortedSet<AbsPath> |
getKnownRootsOfAllCells() |
com.google.common.collect.ImmutableMap<AbsPath,Cell> |
getLoadedCells() |
NewCellPathResolver |
getNewCellPathResolver()
Return the
NewCellPathResolver . |
AbsPath |
getRoot() |
ToolchainProvider |
getToolchainProvider() |
com.google.common.collect.ImmutableSortedSet<AbsPath> getKnownRootsOfAllCells()
CanonicalCellName getCanonicalName()
ProjectFilesystem getFilesystem()
ProjectFilesystemView getFilesystemViewForSourceFiles()
ProjectFilesystemView
that filters out ignores specified for this cell, like
blacklisted paths and buck-out, to iterate over files which are potential direct sources,
build files, etc.BuckConfig getBuckConfig()
<T extends ConfigView<BuckConfig>> T getBuckConfigView(Class<T> cls)
CellProvider getCellProvider()
ToolchainProvider getToolchainProvider()
AbsPath getRoot()
Cell getCell(CanonicalCellName cellName)
com.google.common.collect.ImmutableList<Cell> getAllCells()
CellPathResolver getCellPathResolver()
NewCellPathResolver getNewCellPathResolver()
NewCellPathResolver
. This can be used to map
between canonical names and cell root paths.CellNameResolver getCellNameResolver()
CellNameResolver
for this cell. This can be used to resolve user-provided
cell aliases to their canonical names.