Interface RemoteConfigurationProvider

All Known Implementing Classes:
AbstractRemoteConfigurationProvider

public interface RemoteConfigurationProvider
Remote configuration provider.
Since:
1.2.0
  • Method Details

    • getName

      String getName()
      Retrieves the provider name.
      Returns:
      The provider name
      Since:
      1.2.0
    • getConfigurationObjectName

      String getConfigurationObjectName()
      Retrieves the provider configuration object name.
      Returns:
      The provider configuration object name
      Since:
      1.2.0
    • 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
      Since:
      1.2.0