Interface ISystemConfig


public interface ISystemConfig
User: nbaker Date: 4/2/13
  • Method Details

    • getConfiguration

      IConfiguration getConfiguration(String configId)
    • getProperty

      String getProperty(String placeholder)
    • getProperty

      default String getProperty(String placeholder, String defaultValue)
      Gets the value of a property if it is defined, falling back to a given default value, otherwise.
      Parameters:
      placeholder - A property placeholder in the format "configId.property".
      defaultValue - The value returned when a property is not defined, i.e., the value returned by IConfiguration.getProperties() and then by Properties.getProperty(String) is null.
      Returns:
      The value of the given property, when defined; null otherwise.
    • registerConfiguration

      void registerConfiguration(IConfiguration configuration) throws IOException
      Throws:
      IOException
    • listConfigurations

      IConfiguration[] listConfigurations()