trait ConfigProvider extends AnyRef
A ConfigProvider is a service that provides configuration given a description of the structure of that configuration.
- Self Type
- ConfigProvider
- Alphabetic
- By Inheritance
- ConfigProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def contramapPath(f: (String) => String): ConfigProvider
Returns a new config provider that will automatically tranform all path configuration names with the specified function.
Returns a new config provider that will automatically tranform all path configuration names with the specified function. This can be utilized to adapt the names of configuration properties from one naming convention to another.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def flatten: Flat
Flattens this config provider into a simplified config provider that knows only how to deal with flat (key/value) properties.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def kebabCase: ConfigProvider
Returns a new config provider that will automatically convert all property names to kebab case.
Returns a new config provider that will automatically convert all property names to kebab case. This can be utilized to adapt the names of configuration properties from the default naming convention of camel case to the naming convention of a config provider.
- def load[A](implicit trace: Trace, config: Config[A]): IO[Error, A]
Loads the configuration of type
A
using implicit Config[A], or fails with a config error. - final def lowerCase: ConfigProvider
Returns a new config provider that will automatically convert all property names to lower case.
Returns a new config provider that will automatically convert all property names to lower case. This can be utilized to adapt the names of configuration properties from the default naming convention of camel case to the naming convention of a config provider.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def nested(name: String): ConfigProvider
Returns a new config provider that will automatically nest all configuration under the specified property name.
Returns a new config provider that will automatically nest all configuration under the specified property name. This can be utilized to aggregate separate configuration sources that are all required to load a single configuration value.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def orElse(that: ConfigProvider): ConfigProvider
Returns a new config provider that preferentially loads configuration data from this one, but which will fall back to the specified alternate provider if there are any issues loading the configuration from this provider.
- final def snakeCase: ConfigProvider
Returns a new config provider that will automatically convert all property names to snake case.
Returns a new config provider that will automatically convert all property names to snake case. This can be utilized to adapt the names of configuration properties from the default naming convention of camel case to the naming convention of a config provider.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def unnested(name: String): ConfigProvider
Returns a new config provider that will automatically unnest all configuration from the specified property name.
- final def upperCase: ConfigProvider
Returns a new config provider that will automatically convert all property names to upper case.
Returns a new config provider that will automatically convert all property names to upper case. This can be utilized to adapt the names of configuration properties from the default naming convention of camel case to the naming convention of a config provider.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def within(path: Chunk[String])(f: (ConfigProvider) => ConfigProvider): ConfigProvider
Returns a new config provider that transforms the config provider with the specified function within the specified path.