Interface ConfigurationProvider

  • All Known Implementing Classes:
    DefaultConfigurationProvider, MapConfigurationProvider

    public interface ConfigurationProvider
    Configuration providers implement this interface in order to expose configuration data to the comm framework.

    Author:
    Todd S. Murchison
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean contains​(String name)
      Returns true if a value with the given name exists in the configuration data, false otherwise.
      Object get​(String name)
      Returns an Object representation of the configuration value with the given name.
      boolean getBoolean​(String name)
      Returns a boolean representation of the configuration value with the given name.
      int getInt​(String name)
      Returns an integer representation of the configuration value with the given name.
      long getLong​(String name)
      Returns a long representation of the configuration value with the given name.
      String getString​(String name)
      Returns a String representation of the configuration value with the given name.