public interface NewCellPathResolver
NewCellPathResolver
maps between CanonicalCellName
s and the absolute Path
that they are rooted at.
The behavior of NewCellPathResolver
is the same for all cells in a build (unlike
CellPathResolver
).
Modifier and Type | Method and Description |
---|---|
CanonicalCellName |
getCanonicalCellName(Path path) |
Path |
getCellPath(CanonicalCellName cellName)
Note: unlike
CellPathResolver.getCellPath(Optional) this function always returns a
value. |
Path getCellPath(CanonicalCellName cellName)
CellPathResolver.getCellPath(Optional)
this function always returns a
value. Existence/visibility of the cell is enforced when the CanonicalCellName
is
resolved.cellName
- Canonical name of the cell.CanonicalCellName getCanonicalCellName(Path path)
path
- Absolute path to the physical root of the cell.