Interface DynamicConfigService


  • public interface DynamicConfigService
    A service for getting DynamicConfig values.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getByKey​(java.lang.String key)
      Get the value of the DynamicConfig with key.
      java.lang.String getByKeyOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Get the value of the DynamicConfig with key or the default value if the key does not exist.
    • Method Detail

      • getByKey

        java.lang.String getByKey​(java.lang.String key)
        Get the value of the DynamicConfig with key.
        Parameters:
        key - the key to get the DynamicConfig value for
        Returns:
        the value of the DynamicConfig with key
      • getByKeyOrDefault

        java.lang.String getByKeyOrDefault​(java.lang.String key,
                                           java.lang.String defaultValue)
        Get the value of the DynamicConfig with key or the default value if the key does not exist.
        Parameters:
        key - the key to get the DynamicConfig value for
        defaultValue - the default value to return if the key does not exist
        Returns:
        the value of the DynamicConfig with key or the default value if the key does not exist