Package one.microstream.util.config
Class CompositeConfig
- java.lang.Object
-
- one.microstream.util.config.CompositeConfig
-
public class CompositeConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description CompositeConfig(String rootIdentifier, String qualifier, String filesuffix, CsvConfiguration csvConfig, File configDirectory, Substituter<String> stringCache, XGettingMap<String,String> customVariables)
CompositeConfig(String rootIdentifier, String qualifier, String filesuffix, CsvConfiguration csvConfig, File configDirectory, Substituter<String> stringCache, XGettingMap<String,String> customVariables, Character variableStarter, Character variableTerminator)
-
Method Summary
Modifier and Type Method Description RootConfig
defaultConfig()
File
directory()
static ConfigEntry<Boolean>
entryBoolean(String keyName)
static ConfigEntry<Double>
entryDouble(String keyName)
static ConfigEntry<Integer>
entryInteger(String keyName)
static ConfigEntry<Long>
entryLong(String keyName)
static ConfigEntry<String>
entryString(String keyName)
void
export()
void
iterateConfigs(Consumer<? super AbstractConfig> iterator)
SubConfig
subConfig(String identifier)
-
-
-
Constructor Detail
-
CompositeConfig
public CompositeConfig(String rootIdentifier, String qualifier, String filesuffix, CsvConfiguration csvConfig, File configDirectory, Substituter<String> stringCache, XGettingMap<String,String> customVariables, Character variableStarter, Character variableTerminator)
-
CompositeConfig
public CompositeConfig(String rootIdentifier, String qualifier, String filesuffix, CsvConfiguration csvConfig, File configDirectory, Substituter<String> stringCache, XGettingMap<String,String> customVariables)
-
-
Method Detail
-
entryString
public static final ConfigEntry<String> entryString(String keyName)
-
entryBoolean
public static final ConfigEntry<Boolean> entryBoolean(String keyName)
-
entryInteger
public static final ConfigEntry<Integer> entryInteger(String keyName)
-
entryLong
public static final ConfigEntry<Long> entryLong(String keyName)
-
entryDouble
public static final ConfigEntry<Double> entryDouble(String keyName)
-
directory
public File directory()
-
iterateConfigs
public void iterateConfigs(Consumer<? super AbstractConfig> iterator)
-
defaultConfig
public RootConfig defaultConfig()
-
export
public void export()
-
-