Package 

Interface ConfigSource

    • Method Summary

      Modifier and Type Method Description
      abstract Function1<String, Object> getterFor(KType type) Given a type, return a function which takes in a configuration property key (aka a key 'name') and returns the value of the property at the given name as the type referred to by type.
      abstract String getName() A name for this ConfigSource to give extra context in the event of errors
      String getDescription()
      • Methods inherited from class org.jitsi.metaconfig.ConfigSource

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

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

      • getterFor

         abstract Function1<String, Object> getterFor(KType type)

        Given a type, return a function which takes in a configuration property key (aka a key 'name') and returns the value of the property at the given name as the type referred to by type.

        The return getter should return the value corresponding to the given key, or throw ConfigException.UnsupportedType if the type isn't supported.