Class ConfigSourceWrapper

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

    
    public final class ConfigSourceWrapper
     implements ConfigSource
                        

    A wrapper around a ConfigSource that allows changing the underlying ConfigSource at any time. We use this in JitsiConfig so that test code can swap out the underlying ConfigSource.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigSourceWrapper(ConfigSource innerSource)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName()
      final ConfigSource getInnerSource()
      final Unit setInnerSource(ConfigSource innerSource)
      Function1<String, Object> getterFor(KType type)
      • Methods inherited from class org.jitsi.metaconfig.ConfigSource

        getDescription
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait