Package 

Class ConfigurationServiceConfigSource

  • All Implemented Interfaces:
    org.jitsi.metaconfig.ConfigSource

    
    public final class ConfigurationServiceConfigSource
     implements ConfigSource
                        

    A ConfigSource implementation which is backed by a ConfigurationService instance.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName()
      String getDescription()
      Function1<String, Object> getterFor(KType type) Note that we can't use getBoolean, getInt, etc.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigurationServiceConfigSource

        ConfigurationServiceConfigSource(String name, ConfigurationService config)
    • Method Detail

      • getterFor

         Function1<String, Object> getterFor(KType type)

        Note that we can't use getBoolean, getInt, etc. in ConfigurationService because they all take a default value, which we don't want (because if the value isn't found we want to throw ConfigException.UnableToRetrieve.NotFound so the calling code can fall back to another property).