Package org.jitsi.metaconfig
See: Description
-
Class Summary Class Description Condition A guard for whether or not a property can be accessed based on the return value of the given predicate. NotFound The property could not be found WrongType The property was found, but it had a type incompatible with what was requested Deprecated ConditionNotMet Error UnableToRetrieve UnsupportedType A value was requested as a type which is not supported by the ConfigSource ConfigException Throw when a value for the property couldn't be retrieved from a ConfigSource ConfigDelegate A delegate for a configuration property which takes a ConfigValueSupplier OptionalConfigDelegate A config property delegate which will return null if the property isn't found Soft Hard Deprecated Deprecation Models the deprecation status of a configuration property MapConfigSource A ConfigSource which allows modifying the properties after its creation. MetaconfigSettings SupplierBuilder This class enables us to implicitly inject the type when a caller is building a property, for example: val bool: Boolean by config { "some.path".from(configSource) // no need to explicitly set the type "some.other.path".from(configSource).transformedBy { !it } // again, don't need to set the type // can override the inferred type when you want to convert "some.third.path".from(configSource). ConditionKt MetaconfigSettingsKt DelegatesKt DeprecationKt SupplierBuilderKt -
Interface Summary Interface Description ConfigSource A ConfigSource is what is used to retrieve configuration values from some location. MetaconfigLogger -
Object Summary Object Description NotDeprecated Companion