Modifier and Type | Class and Description |
---|---|
static class |
CellConfig.Builder
A builder for
CellConfig s. |
Modifier and Type | Field and Description |
---|---|
static CellConfig |
EMPTY_INSTANCE |
Constructor and Description |
---|
CellConfig() |
Modifier and Type | Method and 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() |
public static final CellConfig EMPTY_INSTANCE
public RawConfig getForCell(CellName cellName)
public com.google.common.collect.ImmutableMap<AbsPath,RawConfig> getOverridesByPath(com.google.common.collect.ImmutableMap<CellName,AbsPath> pathMapping) throws InvalidCellOverrideException
pathMapping
- a map containing paths to all of the cells we want to query.InvalidCellOverrideException
public static CellConfig.Builder builder()