Interface DynamicConfigStorage


  • public interface DynamicConfigStorage
    Author:
    eric.wittmann@gmail.com
    • Method Detail

      • getConfigProperty

        DynamicConfigPropertyDto getConfigProperty​(String propertyName)
        Should return the stored config property or null if not found.
        Parameters:
        propertyName - the name of a property
        Returns:
        the property value or null if not found
      • setConfigProperty

        void setConfigProperty​(DynamicConfigPropertyDto propertyDto)
        Sets a new value for a config property.
        Parameters:
        propertyDto - the property name and value
      • deleteConfigProperty

        void deleteConfigProperty​(String propertyName)
        Deletes a config property from storage.
        Parameters:
        propertyName - the name of a property
      • getConfigProperties

        List<DynamicConfigPropertyDto> getConfigProperties()
        Gets a list of all stored config properties.
        Returns:
        a list of stored properties