pureconfig
package pureconfig
- Alphabetic
- By Inheritance
- pureconfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
saveConfigAsPropertyFile[Config](conf: Config, outputPath: Path, overrideOutputPath: Boolean, options: ConfigRenderOptions)(implicit writer: Derivation[ConfigWriter[Config]]): Unit
- Annotations
- @throws( ... )
- def saveConfigToStream[Config](conf: Config, outputStream: OutputStream, options: ConfigRenderOptions)(implicit writer: Derivation[ConfigWriter[Config]]): Unit
Deprecated Value Members
-
def
loadConfig[Config](conf: Config, namespace: String)(implicit reader: Derivation[ConfigReader[Config]]): Result[Config]
- Annotations
- @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.fromConfig(conf).at(namespace).load[Config]
instead
-
def
loadConfig[Config](conf: Config)(implicit reader: Derivation[ConfigReader[Config]]): Result[Config]
- Annotations
- @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.fromConfig(conf).load[Config]
instead
-
def
loadConfig[Config](path: Path, namespace: String)(implicit reader: Derivation[ConfigReader[Config]]): Result[Config]
- Annotations
- @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.default(ConfigSource.file(path)).at(namespace).load[Config]
instead
-
def
loadConfig[Config](path: Path)(implicit reader: Derivation[ConfigReader[Config]]): Result[Config]
- Annotations
- @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.default(ConfigSource.file(path)).load[Config]
instead
-
def
loadConfig[Config](namespace: String)(implicit reader: Derivation[ConfigReader[Config]]): Result[Config]
- Annotations
- @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.default.at(namespace).load[Config]
instead
-
def
loadConfig[Config](implicit reader: Derivation[ConfigReader[Config]]): Result[Config]
- Annotations
- @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.default.load[Config]
instead
-
def
loadConfigFromFiles[Config](files: Traversable[Path], failOnReadError: Boolean, namespace: String)(implicit reader: Derivation[ConfigReader[Config]]): Result[Config]
- Annotations
- @deprecated
- Deprecated
(Since version 0.12.0) Construct a custom
ConfigSource
pipeline instead
-
def
loadConfigFromFilesOrThrow[Config](files: Traversable[Path])(implicit arg0: ClassTag[Config], reader: Derivation[ConfigReader[Config]]): Config
- Annotations
- @throws( ... ) @deprecated
- Deprecated
(Since version 0.12.0) Construct a custom
ConfigSource
pipeline instead
-
def
loadConfigOrThrow[Config](conf: Config, namespace: String)(implicit arg0: ClassTag[Config], reader: Derivation[ConfigReader[Config]]): Config
- Annotations
- @throws( ... ) @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.fromConfig(conf).at(namespace).loadOrThrow[Config]
instead
-
def
loadConfigOrThrow[Config](conf: Config)(implicit arg0: ClassTag[Config], reader: Derivation[ConfigReader[Config]]): Config
- Annotations
- @throws( ... ) @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.fromConfig(conf).loadOrThrow[Config]
instead
-
def
loadConfigOrThrow[Config](path: Path, namespace: String)(implicit arg0: ClassTag[Config], reader: Derivation[ConfigReader[Config]]): Config
- Annotations
- @throws( ... ) @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.default(ConfigSource.file(path)).at(namespace).loadOrThrow[Config]
instead
-
def
loadConfigOrThrow[Config](path: Path)(implicit arg0: ClassTag[Config], reader: Derivation[ConfigReader[Config]]): Config
- Annotations
- @throws( ... ) @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.default(ConfigSource.file(path)).loadOrThrow[Config]
instead
-
def
loadConfigOrThrow[Config](namespace: String)(implicit arg0: ClassTag[Config], reader: Derivation[ConfigReader[Config]]): Config
- Annotations
- @throws( ... ) @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.default.at(namespace).loadOrThrow[Config]
instead
-
def
loadConfigOrThrow[Config](implicit arg0: ClassTag[Config], reader: Derivation[ConfigReader[Config]]): Config
- Annotations
- @throws( ... ) @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.default.loadOrThrow[Config]
instead
-
def
loadConfigWithFallback[Config](conf: Config, namespace: String)(implicit reader: Derivation[ConfigReader[Config]]): Result[Config]
- Annotations
- @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.fromConfig(conf).withFallback(ConfigSource.default).at(namespace).load[Config]
instead
-
def
loadConfigWithFallback[Config](conf: Config)(implicit reader: Derivation[ConfigReader[Config]]): Result[Config]
- Annotations
- @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.fromConfig(conf).withFallback(ConfigSource.default).load[Config]
instead
-
def
loadConfigWithFallbackOrThrow[Config](conf: Config, namespace: String)(implicit arg0: ClassTag[Config], reader: Derivation[ConfigReader[Config]]): Config
- Annotations
- @throws( ... ) @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.fromConfig(conf).withFallback(ConfigSource.default).at(namespace).loadOrThrow[Config]
instead
-
def
loadConfigWithFallbackOrThrow[Config](conf: Config)(implicit arg0: ClassTag[Config], reader: Derivation[ConfigReader[Config]]): Config
- Annotations
- @throws( ... ) @deprecated
- Deprecated
(Since version 0.12.0) Use
ConfigSource.fromConfig(conf).withFallback(ConfigSource.default).loadOrThrow[Config]
instead