Package com.facebook.buck.core.cell
Class CellConfig
- java.lang.Object
-
- com.facebook.buck.core.cell.CellConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CellConfig.Builder
A builder forCellConfig
s.
-
Field Summary
Fields Modifier and Type Field Description static CellConfig
EMPTY_INSTANCE
-
Constructor Summary
Constructors Constructor Description CellConfig()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static CellConfig.Builder
builder()
RawConfig
getForCell(CellName cellName)
Retrieve the Cell-view of the raw config.com.google.common.collect.ImmutableMap<AbsPath,RawConfig>
getOverridesByPath(com.google.common.collect.ImmutableMap<CellName,AbsPath> pathMapping)
Translates the 'cell name'->override map into a 'Path'->override map.abstract com.google.common.collect.ImmutableMap<CellName,RawConfig>
getValues()
-
-
-
Field Detail
-
EMPTY_INSTANCE
public static final CellConfig EMPTY_INSTANCE
-
-
Method Detail
-
getForCell
public RawConfig getForCell(CellName cellName)
Retrieve the Cell-view of the raw config.- Returns:
- The contents of the raw config with the cell-view filter
-
getOverridesByPath
public com.google.common.collect.ImmutableMap<AbsPath,RawConfig> getOverridesByPath(com.google.common.collect.ImmutableMap<CellName,AbsPath> pathMapping) throws InvalidCellOverrideException
Translates the 'cell name'->override map into a 'Path'->override map.- Parameters:
pathMapping
- a map containing paths to all of the cells we want to query.- Returns:
- 'Path'->override map
- Throws:
InvalidCellOverrideException
-
builder
public static CellConfig.Builder builder()
-
-