pureconfig

package pureconfig

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. pureconfig
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait AllowMissingKey extends AnyRef

    The default behavior of ConfigReaders that are implicitly derived in PureConfig is to raise a KeyNotFoundException when a required key is missing.

  2. trait BasicReaders extends PrimitiveReaders with UriAndPathReaders with JavaTimeReaders with DurationReaders with TypesafeConfigReaders

    Trait containing ConfigReader instances for primitive types and simple classes in Java and Scala standard libraries.

  3. trait BasicWriters extends PrimitiveWriters with UriAndPathWriters with JavaTimeWriters with DurationWriters with TypesafeConfigWriters

    Trait containing ConfigWriter instances for primitive types and simple classes in Java and Scala standard libraries.

  4. trait DerivedReaders extends AnyRef

    Trait containing ConfigReader instances for collection, product and coproduct types.

  5. trait DerivedWriters extends AnyRef

    Trait containing ConfigWriter instances for collection, product and coproduct types.

  6. trait DurationReaders extends AnyRef

    Trait containing ConfigReader instances for Duration and FiniteDuration.

  7. trait DurationWriters extends AnyRef

    Trait containing ConfigWriter instances for Duration and FiniteDuration.

  8. trait JavaTimeReaders extends AnyRef

    Trait containing ConfigReader instances for java.time classes.

  9. trait JavaTimeWriters extends AnyRef

    Trait containing ConfigWriter instances for java.time classes.

  10. trait PrimitiveReaders extends AnyRef

    Trait containing ConfigReader instances for primitive types.

  11. trait PrimitiveWriters extends AnyRef

    Trait containing ConfigWriter instances for primitive types.

  12. trait TypesafeConfigReaders extends AnyRef

    Trait containing ConfigReader instances for Typesafe config models.

  13. trait TypesafeConfigWriters extends AnyRef

    Trait containing ConfigWriter instances for Typesafe config models.

  14. trait UriAndPathReaders extends AnyRef

    Trait containing ConfigReader instances for classes related to file system paths and URIs.

  15. trait UriAndPathWriters extends AnyRef

    Trait containing ConfigWriter instances for classes related to file system paths and URIs.

  16. trait CapitalizedWordsNamingConvention extends NamingConvention

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  17. trait ConfigConvert[T] extends ConfigReader[T] with ConfigWriter[T]

    Trait for objects capable of reading and writing objects of a given type from and to ConfigValues.

  18. trait ConfigFieldMapping extends (String) ⇒ String

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  19. trait ConfigReader[T] extends AnyRef

    Trait for objects capable of reading objects of a given type from ConfigValues.

  20. trait ConfigWriter[T] extends AnyRef

    Trait for objects capable of writing objects of a given type to ConfigValues.

  21. trait ConvertHelpers extends AnyRef

    Useful helpers for building ConfigConvert instances and dealing with results.

  22. trait CoproductHint[T] extends AnyRef

    A trait that can be implemented to disambiguate between the different options of a coproduct or sealed family.

  23. class FieldCoproductHint[T] extends CoproductHint[T]

    Hint where the options are disambiguated by a key = "value" field inside the config.

  24. class FirstSuccessCoproductHint[T] extends CoproductHint[T]

    Hint where all coproduct options are tried in order.

  25. trait NamingConvention extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  26. trait ProductHint[T] extends AnyRef

    A trait that can be implemented to customize how case classes are read from and written to a config.

  27. class StringDelimitedNamingConvention extends NamingConvention

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

Value Members

  1. object BasicReaders extends BasicReaders

  2. object BasicWriters extends BasicWriters

  3. object DerivedReaders extends DerivedReaders

  4. object DerivedWriters extends DerivedWriters

  5. package backend

  6. package error

  7. package syntax

Deprecated Value Members

  1. object CamelCase extends CapitalizedWordsNamingConvention

    CamelCase identifiers look like camelCase and useMorePureconfig

  2. object CapitalizedWordsNamingConvention

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  3. object ConfigConvert extends ConvertHelpers

    Provides methods to create ConfigConvert instances.

  4. object ConfigFieldMapping

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  5. object ConfigReader extends BasicReaders with DerivedReaders

    Provides methods to create ConfigReader instances.

  6. object ConfigWriter extends BasicWriters with DerivedWriters

    Provides methods to create ConfigWriter instances.

  7. object ConvertHelpers extends ConvertHelpers

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  8. object CoproductHint

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  9. object KebabCase extends StringDelimitedNamingConvention

    KebabCase identifiers look like kebab-case and use-more-pureconfig

  10. object PascalCase extends CapitalizedWordsNamingConvention

    PascalCase identifiers look like e.

  11. object ProductHint

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  12. object SnakeCase extends StringDelimitedNamingConvention

    SnakeCase identifiers look like snake_case and use_more_pureconfig

  13. def loadConfig[Config](conf: Config, namespace: String)(implicit reader: ConfigReader[Config]): Either[ConfigReaderFailures, Config]

    Load a configuration of type Config from the given Config

    Load a configuration of type Config from the given Config

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  14. def loadConfig[Config](conf: Config)(implicit reader: ConfigReader[Config]): Either[ConfigReaderFailures, Config]

    Load a configuration of type Config from the given Config

    Load a configuration of type Config from the given Config

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  15. def loadConfig[Config](path: Path, namespace: String)(implicit reader: ConfigReader[Config]): Either[ConfigReaderFailures, Config]

    Load a configuration of type Config from the given file.

    Load a configuration of type Config from the given file. Note that standard configuration files are still loaded but can be overridden from the given configuration file

    namespace

    the base namespace from which the configuration should be load

    returns

    A Success with the configuration if it is possible to create an instance of type Config from the configuration files, else a Failure with details on why it isn't possible

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  16. def loadConfig[Config](path: Path)(implicit reader: ConfigReader[Config]): Either[ConfigReaderFailures, Config]

    Load a configuration of type Config from the given file.

    Load a configuration of type Config from the given file. Note that standard configuration files are still loaded but can be overridden from the given configuration file

    returns

    A Success with the configuration if it is possible to create an instance of type Config from the configuration files, else a Failure with details on why it isn't possible

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  17. def loadConfig[Config](namespace: String)(implicit reader: ConfigReader[Config]): Either[ConfigReaderFailures, Config]

    Load a configuration of type Config from the standard configuration files

    Load a configuration of type Config from the standard configuration files

    namespace

    the base namespace from which the configuration should be load

    returns

    A Success with the configuration if it is possible to create an instance of type Config from the configuration files, else a Failure with details on why it isn't possible

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  18. def loadConfig[Config](implicit reader: ConfigReader[Config]): Either[ConfigReaderFailures, Config]

    Load a configuration of type Config from the standard configuration files

    Load a configuration of type Config from the standard configuration files

    returns

    A Success with the configuration if it is possible to create an instance of type Config from the configuration files, else a Failure with details on why it isn't possible

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  19. def loadConfigFromFiles[Config](files: Traversable[Path])(implicit arg0: ConfigReader[Config]): Either[ConfigReaderFailures, Config]

    Loads files in order, allowing values in later files to backstop missing values from prior, and converts them into a Config.

    Loads files in order, allowing values in later files to backstop missing values from prior, and converts them into a Config.

    This is a convenience method which enables having default configuration which backstops local configuration.

    Note: If an element of files references a file which doesn't exist or can't be read, it will silently be ignored.

    files

    Files ordered in decreasing priority containing part or all of a Config. Must not be empty.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  20. def loadConfigFromFilesOrThrow[Config](files: Traversable[Path])(implicit arg0: ConfigReader[Config], ct: ClassTag[Config]): Config

    returns

    the configuration

    Annotations
    @deprecated @throws( ... )
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

    See also

    loadConfigFromFiles

  21. def loadConfigOrThrow[Config](conf: Config, namespace: String)(implicit reader: ConfigReader[Config], ct: ClassTag[Config]): Config

    Load a configuration of type Config from the given Config

    Load a configuration of type Config from the given Config

    conf

    Typesafe configuration to load

    namespace

    the base namespace from which the configuration should be load

    returns

    the configuration

    Annotations
    @deprecated @throws( ... )
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  22. def loadConfigOrThrow[Config](conf: Config)(implicit reader: ConfigReader[Config], ct: ClassTag[Config]): Config

    Load a configuration of type Config from the given Config

    Load a configuration of type Config from the given Config

    conf

    Typesafe configuration to load

    returns

    the configuration

    Annotations
    @deprecated @throws( ... )
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  23. def loadConfigOrThrow[Config](path: Path, namespace: String)(implicit reader: ConfigReader[Config], ct: ClassTag[Config]): Config

    Load a configuration of type Config from the given file.

    Load a configuration of type Config from the given file. Note that standard configuration files are still loaded but can be overridden from the given configuration file

    namespace

    the base namespace from which the configuration should be load

    returns

    the configuration

    Annotations
    @deprecated @throws( ... )
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  24. def loadConfigOrThrow[Config](path: Path)(implicit reader: ConfigReader[Config], ct: ClassTag[Config]): Config

    Load a configuration of type Config from the given file.

    Load a configuration of type Config from the given file. Note that standard configuration files are still loaded but can be overridden from the given configuration file

    returns

    the configuration

    Annotations
    @deprecated @throws( ... )
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  25. def loadConfigOrThrow[Config](namespace: String)(implicit reader: ConfigReader[Config], ct: ClassTag[Config]): Config

    Load a configuration of type Config from the standard configuration files

    Load a configuration of type Config from the standard configuration files

    namespace

    the base namespace from which the configuration should be load

    returns

    the configuration

    Annotations
    @deprecated @throws( ... )
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  26. def loadConfigOrThrow[Config](implicit reader: ConfigReader[Config], ct: ClassTag[Config]): Config

    Load a configuration of type Config from the standard configuration files

    Load a configuration of type Config from the standard configuration files

    returns

    the configuration

    Annotations
    @deprecated @throws( ... )
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  27. def loadConfigWithFallback[Config](conf: Config, namespace: String)(implicit reader: ConfigReader[Config]): Either[ConfigReaderFailures, Config]

    Load a configuration of type Config from the given Config, falling back to the default configuration

    Load a configuration of type Config from the given Config, falling back to the default configuration

    conf

    Typesafe configuration to load

    namespace

    the base namespace from which the configuration should be load

    returns

    A Success with the configuration if it is possible to create an instance of type Config from the configuration files, else a Failure with details on why it isn't possible

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  28. def loadConfigWithFallback[Config](conf: Config)(implicit reader: ConfigReader[Config]): Either[ConfigReaderFailures, Config]

    Load a configuration of type Config from the given Config, falling back to the default configuration

    Load a configuration of type Config from the given Config, falling back to the default configuration

    conf

    Typesafe configuration to load

    returns

    A Success with the configuration if it is possible to create an instance of type Config from the configuration files, else a Failure with details on why it isn't possible

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  29. def loadConfigWithFallbackOrThrow[Config](conf: Config, namespace: String)(implicit reader: ConfigReader[Config], ct: ClassTag[Config]): Config

    Load a configuration of type Config from the given Config, falling back to the default configuration

    Load a configuration of type Config from the given Config, falling back to the default configuration

    conf

    Typesafe configuration to load

    namespace

    the base namespace from which the configuration should be load

    returns

    the configuration

    Annotations
    @deprecated @throws( ... )
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  30. def loadConfigWithFallbackOrThrow[Config](conf: Config)(implicit reader: ConfigReader[Config], ct: ClassTag[Config]): Config

    Load a configuration of type Config from the given Config, falling back to the default configuration

    Load a configuration of type Config from the given Config, falling back to the default configuration

    conf

    Typesafe configuration to load

    returns

    the configuration

    Annotations
    @deprecated @throws( ... )
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  31. def saveConfigAsPropertyFile[Config](conf: Config, outputPath: Path, overrideOutputPath: Boolean = false)(implicit writer: ConfigWriter[Config]): Unit

    Save the given configuration into a property file

    Save the given configuration into a property file

    conf

    The configuration to save

    outputPath

    Where to write the configuration

    overrideOutputPath

    Override the path if it already exists

    Annotations
    @deprecated @throws( ... )
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

  32. def saveConfigToStream[Config](conf: Config, outputStream: OutputStream)(implicit writer: ConfigWriter[Config]): Unit

    Writes the configuration to the output stream and closes the stream

    Writes the configuration to the output stream and closes the stream

    conf

    The configuration to write

    outputStream

    The stream in which the configuration should be written

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) The pureconfig artifact with organization com.github.melrief is deprecated and won't be published anymore. Please update your dependency to use the organization com.github.pureconfig

Inherited from AnyRef

Inherited from Any

Ungrouped