Packages

p

org.tupol

configz

package configz

This package holds a framework for extracting configuration objects out of configuration files, using the Typesafe Config library. Alternative solution: PureConfig

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. configz
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ConfigurationException(errors: Seq[Throwable]) extends Exception with Product with Serializable

    Encapsulates all configuration exceptions that occurred while trying to map the data from a Typesafe Config object onto a case class.

  2. trait Configurator[T] extends Extractor[T]

    Implementors of this trait how to construct a class of type T from a Typesafe Config instance.

  3. trait Extractor[T] extends AnyRef

    An extractor is a bit of code that knows how to extract a value of type T from a Typesafe {{Config}} instance.

    An extractor is a bit of code that knows how to extract a value of type T from a Typesafe {{Config}} instance.

    T

    the type that this implementation can extract for us.

  4. implicit class RichConfig extends AnyRef

    Adds the extract method to a Typesafe Config instance, allowing us to request values from it like so: {{config.extract[Double]("double")}} or {{config.extract[Option[Range]]("range")}}

  5. implicit final class ThrowableOps extends AnyVal

    Add a convenience method to convert an Exception to a NonEmptyList[Throwable].

Value Members

  1. implicit def validationNelToTry[E <: Throwable, T](validation: ValidationNel[E, T]): Try[T]
  2. object Extractor

Inherited from AnyRef

Inherited from Any

Ungrouped