public abstract class CombinableConfig extends Object implements Config
| Modifier | Constructor and Description |
|---|---|
protected |
CombinableConfig()
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
CombinableConfig |
combine(Config... fallbackConfigs)
combines this configuration with given ones.
|
CombinableConfig |
withFallback(Config fallback)
uses given config as fallback if a key isn't set in this config.
|
public CombinableConfig withFallback(Config fallback)
fallback - the fallback configurationpublic CombinableConfig combine(Config... fallbackConfigs)
fallbackConfigs - the configurations to combineCopyright © 2014. All Rights Reserved.