Interface EnvironmentProvider

All Known Implementing Classes:
FileEnvironmentProvider, ObfEnvironmentProvider

public interface EnvironmentProvider
Provides environment variable values to the Environment resolver.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String config)
    Resolves the given configuration key using this provider.
    Returns the prefix identifying this provider.
  • Method Details

    • prefix

      Returns the prefix identifying this provider.
      Returns:
      the prefix string (e.g. "vault", "env")
    • get

      String get(String config)
      Resolves the given configuration key using this provider.
      Parameters:
      config - the configuration key to resolve
      Returns:
      the resolved value, or null if not found