Interface ConfigurationProvider


  • public interface ConfigurationProvider
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getValues()
      Get all the configuration values
      void reloadConfig()
      Reloads the config
      void saveConfig()
      Saves the config
      void set​(java.lang.String path, java.lang.Object value)
      Sets the specified path to the given value.
    • Method Detail

      • set

        void set​(java.lang.String path,
                 java.lang.Object value)
        Sets the specified path to the given value.
        Parameters:
        path - Path of the object to set.
        value - New value to set the path to
      • saveConfig

        void saveConfig()
        Saves the config
      • reloadConfig

        void reloadConfig()
        Reloads the config
      • getValues

        java.util.Map<java.lang.String,​java.lang.Object> getValues()
        Get all the configuration values
        Returns:
        Map with key-values