Class/Object

zio.Config

Fallback

Related Docs: object Fallback | package Config

Permalink

sealed class Fallback[A] extends Composite[A] with Product with Serializable

Self Type
Fallback[A]
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Fallback
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Composite
  7. Config
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Fallback(first: Config[A], second: Config[A])

    Permalink
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[B](that: ⇒ Config[B])(implicit zippable: Zippable[A, B]): Config[Out]

    Permalink

    Returns a new config that is the composition of this config and the specified config.

    Returns a new config that is the composition of this config and the specified config.

    Definition Classes
    Config
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def ??(label: ⇒ String): Config[A]

    Permalink

    Adds a description to this configuration, which is intended for humans.

    Adds a description to this configuration, which is intended for humans.

    Definition Classes
    Config
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    Fallback → Equals
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def condition(error: Error): Boolean

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    Fallback → Equals → AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. val first: Config[A]

    Permalink
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    Fallback → AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def map[B](f: (A) ⇒ B): Config[B]

    Permalink

    Returns a new config whose structure is the same as this one, but which produces a different Scala value, constructed using the specified function.

    Returns a new config whose structure is the same as this one, but which produces a different Scala value, constructed using the specified function.

    Definition Classes
    Config
  18. def mapAttempt[B](f: (A) ⇒ B): Config[B]

    Permalink

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified function, which may throw exceptions that will be translated into validation errors.

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified function, which may throw exceptions that will be translated into validation errors.

    Definition Classes
    Config
  19. def mapOrFail[B](f: (A) ⇒ Either[Error, B]): Config[B]

    Permalink

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified fallible function.

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified fallible function.

    Definition Classes
    Config
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def nested(name: ⇒ String): Config[A]

    Permalink

    Returns a new config that has this configuration nested as a property of the specified name.

    Returns a new config that has this configuration nested as a property of the specified name.

    Definition Classes
    Config
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def optional: Config[Option[A]]

    Permalink

    Returns an optional version of this config, which will be None if the data is missing from configuration, and Some otherwise.

    Returns an optional version of this config, which will be None if the data is missing from configuration, and Some otherwise.

    Definition Classes
    Config
  25. def orElse[A1 >: A](that: ⇒ Config[A1]): Config[A1]

    Permalink

    A named version of ||.

    A named version of ||.

    Definition Classes
    Config
  26. def orElseIf(condition: (Error) ⇒ Boolean): OrElse[A]

    Permalink

    Returns configuration which reads from this configuration, but which falls back to the specified configuration if reading from this configuration fails with an error satisfying the specified predicate.

    Returns configuration which reads from this configuration, but which falls back to the specified configuration if reading from this configuration fails with an error satisfying the specified predicate.

    Definition Classes
    Config
  27. def productArity: Int

    Permalink
    Definition Classes
    Fallback → Product
  28. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Fallback → Product
  29. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  30. def productPrefix: String

    Permalink
    Definition Classes
    Product
  31. def repeat: Config[Chunk[A]]

    Permalink

    Returns a new config that describes a sequence of values, each of which has the structure of this config.

    Returns a new config that describes a sequence of values, each of which has the structure of this config.

    Definition Classes
    Config
  32. val second: Config[A]

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. def validate(message: ⇒ String)(f: (A) ⇒ Boolean): Config[A]

    Permalink

    Returns a new config that describes the same structure as this one, but which performs validation during loading.

    Returns a new config that describes the same structure as this one, but which performs validation during loading.

    Definition Classes
    Config
  36. def validateWith[B](message: ⇒ String)(pf: PartialFunction[A, B]): Config[B]

    Permalink

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified partial function, failing with the specified validation error if the partial function is not defined.

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified partial function, failing with the specified validation error if the partial function is not defined.

    Definition Classes
    Config
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def withDefault[A1 >: A](default: ⇒ A1): Config[A1]

    Permalink

    Returns a new config that describes the same structure as this one, but has the specified default value in case the information cannot be found.

    Returns a new config that describes the same structure as this one, but has the specified default value in case the information cannot be found.

    Definition Classes
    Config
  41. def zip[B](that: ⇒ Config[B])(implicit z: Zippable[A, B]): Config[Out]

    Permalink

    A named version of ++.

    A named version of ++.

    Definition Classes
    Config
  42. def ||[A1 >: A](that: ⇒ Config[A1]): Config[A1]

    Permalink

    Returns a config whose structure is preferentially described by this config, but which falls back to the specified config if there is an issue reading from this config.

    Returns a config whose structure is preferentially described by this config, but which falls back to the specified config if there is an issue reading from this config.

    Definition Classes
    Config

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Composite[A]

Inherited from Config[A]

Inherited from AnyRef

Inherited from Any

Ungrouped