-
- All Implemented Interfaces:
-
org.jitsi.metaconfig.ConfigSource
public final class ConfigurationServiceConfigSource implements ConfigSourceA ConfigSource implementation which is backed by a ConfigurationService instance.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Stringdescription
-
Constructor Summary
Constructors Constructor Description ConfigurationServiceConfigSource(String name, ConfigurationService config)
-
Method Summary
-
-
Constructor Detail
-
ConfigurationServiceConfigSource
ConfigurationServiceConfigSource(String name, ConfigurationService config)
-
-
Method Detail
-
getDescription
String getDescription()
-
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).
-
-
-
-