public interface ConfigurationManager
| Modifier and Type | Method and Description |
|---|---|
Properties |
getConfiguration(String configurationName)
Get the configuration from the config dirs and don't use defaults.
|
Properties |
getConfigurationWithDefaults(String configurationName)
Get the configuration from the config dirs but fallback to the defaults.
|
Properties |
getConfigurationWithDefaults(String configurationName,
ClassLoader classLoader)
Get the configuration from the config dirs but fallback to the defaults using the given classloader.
|
@Nonnull Properties getConfiguration(String configurationName)
configurationName - the name of the configuration without the file ending .properties@Nonnull Properties getConfigurationWithDefaults(String configurationName)
configurationName - the name of the configuration without the file ending .propertiesConfigurationNotFoundException - if the default configuration cloud not be found@Nonnull Properties getConfigurationWithDefaults(String configurationName, ClassLoader classLoader)
configurationName - the name of the configuration without the file ending .propertiesclassLoader - the classLoader to use to find the default configConfigurationNotFoundException - if the default configuration cloud not be foundCopyright © 2018. All rights reserved.