public class DefaultLayeredConfig extends AbstractDependentConfig implements com.netflix.archaius.api.config.LayeredConfig
Layers where there can be
multiple configs in each layer, ordered by insertion order. Layers form an override
hierarchy for property overrides. Common hierarchies are,
Runtime -> Environment -> System -> Application -> Library -> Defaults| Constructor and Description |
|---|
DefaultLayeredConfig() |
DefaultLayeredConfig(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfig(com.netflix.archaius.api.Layer layer,
com.netflix.archaius.api.Config config) |
void |
addConfig(com.netflix.archaius.api.Layer layer,
com.netflix.archaius.api.Config child,
int position) |
java.util.Collection<com.netflix.archaius.api.Config> |
getConfigsAtLayer(com.netflix.archaius.api.Layer layer) |
com.netflix.archaius.config.CachedState |
getState() |
java.util.Optional<com.netflix.archaius.api.Config> |
removeConfig(com.netflix.archaius.api.Layer layer,
java.lang.String name) |
containsKey, createPropertyDetails, forEachProperty, forEachPropertyUninstrumented, getKeys, getRawProperty, getRawPropertyUninstrumented, instrumentationEnabled, isEmpty, keys, recordUsageaccept, addListener, generateUniqueName, get, get, get, get, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getByte, getByte, getDecoder, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getKeys, getList, getList, getList, getListDelimiter, getListeners, getLong, getLong, getLookup, getName, getPrefixedView, getPrivateView, getShort, getShort, getString, getString, getStrInterpolator, getValue, getValueWithDefault, notFound, notFound, notifyConfigAdded, notifyConfigRemoved, notifyConfigUpdated, notifyError, removeListener, resolve, resolve, setDecoder, setListDelimiter, setStrInterpolatorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, addListener, containsKey, get, get, get, get, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getByte, getByte, getDecoder, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getKeys, getKeys, getList, getList, getList, getLong, getLong, getPrefixedView, getPrivateView, getProperty, getPropertyUninstrumented, getRawProperty, getRawPropertyUninstrumented, getShort, getShort, getString, getString, getStrInterpolator, instrumentationEnabled, keys, recordUsage, removeListener, resolve, resolve, setDecoder, setStrInterpolatorpublic DefaultLayeredConfig()
public DefaultLayeredConfig(java.lang.String name)
public void addConfig(com.netflix.archaius.api.Layer layer,
com.netflix.archaius.api.Config config)
addConfig in interface com.netflix.archaius.api.config.LayeredConfigpublic void addConfig(com.netflix.archaius.api.Layer layer,
com.netflix.archaius.api.Config child,
int position)
addConfig in interface com.netflix.archaius.api.config.LayeredConfigpublic java.util.Collection<com.netflix.archaius.api.Config> getConfigsAtLayer(com.netflix.archaius.api.Layer layer)
getConfigsAtLayer in interface com.netflix.archaius.api.config.LayeredConfigpublic java.util.Optional<com.netflix.archaius.api.Config> removeConfig(com.netflix.archaius.api.Layer layer,
java.lang.String name)
removeConfig in interface com.netflix.archaius.api.config.LayeredConfigpublic com.netflix.archaius.config.CachedState getState()