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