Interface RemoteConfigurationProvider
- All Known Implementing Classes:
AbstractRemoteConfigurationProvider
public interface RemoteConfigurationProvider
Remote configuration provider.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the provider configuration object name.getName()Retrieves the provider name.voidloadConfiguration(com.typesafe.config.Config configuration, Consumer<KeyValueCfgObject> keyValueObjConsumer, Consumer<FileCfgObject> fileObjConsumer) Loads the configuration.
-
Method Details
-
getName
String getName()Retrieves the provider name.- Returns:
- The provider name
-
getConfigurationObjectName
String getConfigurationObjectName()Retrieves the provider configuration object name.- Returns:
- The provider configuration object name
-
loadConfiguration
void loadConfiguration(com.typesafe.config.Config configuration, Consumer<KeyValueCfgObject> keyValueObjConsumer, Consumer<FileCfgObject> fileObjConsumer) throws RemoteConfigurationException Loads the configuration.- Parameters:
configuration- The provider specific configurationkeyValueObjConsumer- The Key/Value object consumerfileObjConsumer- The File object consumer- Throws:
RemoteConfigurationException- If something goes wrong during the process
-