Interface RemoteConfigurationProvider

All Known Implementing Classes:
AbstractRemoteConfigurationProvider

public interface RemoteConfigurationProvider
Remote configuration provider.
  • 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 configuration
      keyValueObjConsumer - The Key/Value object consumer
      fileObjConsumer - The File object consumer
      Throws:
      RemoteConfigurationException - If something goes wrong during the process