Interface IConfigProvider

All Known Implementing Classes:
SimpleConfigProvider

public interface IConfigProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    return a config value for a specific key, otherwise null
    getValue(String key, String defaultValue)
    return a config value for a specific key, otherwise the defaultValue
  • Method Details

    • getValue

      String getValue(String key)
      return a config value for a specific key, otherwise null
      Parameters:
      key - the desired config to be read
      Returns:
      configured value for key or if not set null
    • getValue

      String getValue(String key, String defaultValue)
      return a config value for a specific key, otherwise the defaultValue
      Parameters:
      key - the desired config to be read
      Returns:
      configured value for key or the defaultValue if not set