public class MultiConfigger extends Object
Constructor and Description |
---|
MultiConfigger()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addGlobalConfigger(Configger configger)
Adds a global subordinate configger to the list.
|
void |
addZoneConfigger(ZoneId zid,
Configger configger)
Adds a subordinate configger that contributes configuration
specific to a given zone.
|
uk.ac.starlink.ttools.plot2.config.ConfigMap |
getGlobalConfig()
Acquires that part of the configuration from subordinate configgers
that applies to all zones.
|
uk.ac.starlink.ttools.plot2.config.ConfigMap |
getZoneConfig(ZoneId zid)
Acquires all the configuration from subordinate configgers that
applies to a given zone.
|
Configger |
layerConfigger(uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel)
Convenience method to return a dynamic configger whose configuration
returns depend on the state at getConfig-time of a given zone selector.
|
public void addGlobalConfigger(Configger configger)
configger
- item whose config values will be gathered for the
result of this onepublic void addZoneConfigger(ZoneId zid, Configger configger)
zid
- zone idconfigger
- per-zone configgerpublic uk.ac.starlink.ttools.plot2.config.ConfigMap getGlobalConfig()
public uk.ac.starlink.ttools.plot2.config.ConfigMap getZoneConfig(ZoneId zid)
zid
- zone of interestCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.