object Config
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Config
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- sealed trait Composite[+A] extends Config[A]
- final case class Constant[A](value: A) extends Primitive[A] with Product with Serializable
- final case class Described[A](config: Config[A], description: String) extends Composite[A] with Product with Serializable
-
sealed
trait
Error extends Exception with NoStackTrace
The possible ways that loading configuration data may fail.
- final case class Fail(message: String) extends Primitive[Nothing] with Product with Serializable
- sealed class Fallback[A] extends Composite[A] with Product with Serializable
- final case class FallbackWith[A](first: Config[A], second: Config[A], f: (Error) ⇒ Boolean) extends Fallback[A] with Product with Serializable
- final case class Lazy[A](thunk: () ⇒ Config[A]) extends Composite[A] with Product with Serializable
- final case class MapOrFail[A, B](original: Config[A], mapOrFail: (A) ⇒ Either[Error, B]) extends Composite[B] with Product with Serializable
- final case class Nested[A](name: String, config: Config[A]) extends Composite[A] with Product with Serializable
- final case class Optional[A](config: Config[A]) extends Fallback[Option[A]] with Product with Serializable
- final class OrElse[+A] extends AnyRef
- sealed trait Primitive[+A] extends Config[A]
- final class Secret extends AnyRef
- final case class Sequence[A](config: Config[A]) extends Composite[Chunk[A]] with Product with Serializable
- final case class Switch[A, B](config: Config[A], map: Map[A, Config[B]]) extends Composite[B] with Product with Serializable
- final case class Table[V](valueConfig: Config[V]) extends Composite[Map[String, V]] with Product with Serializable
- final case class Zipped[A, B, C](left: Config[A], right: Config[B], zippable: Out[A, B, C]) extends Composite[C] with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bigDecimal(name: String): Config[BigDecimal]
- def bigDecimal: Config[BigDecimal]
- def bigInt(name: String): Config[BigInt]
- def bigInt: Config[BigInt]
- def boolean(name: String): Config[Boolean]
- def boolean: Config[Boolean]
- def chunkOf[A](name: String, config: Config[A]): Config[Chunk[A]]
- def chunkOf[A](config: Config[A]): Config[Chunk[A]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def defer[A](config: ⇒ Config[A]): Config[A]
- def double(name: String): Config[Double]
- def double: Config[Double]
- def duration(name: String): Config[zio.Duration]
- def duration: Config[zio.Duration]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def fail(error: ⇒ String): Config[Nothing]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def float(name: String): Config[Float]
- def float: Config[Float]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def int(name: String): Config[Int]
- def int: Config[Int]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listOf[A](name: String, config: Config[A]): Config[List[A]]
- def listOf[A](config: Config[A]): Config[List[A]]
- def localDate(name: String): Config[LocalDate]
- def localDate: Config[LocalDate]
- def localDateTime(name: String): Config[LocalDateTime]
- def localDateTime: Config[LocalDateTime]
- def localTime(name: String): Config[LocalTime]
- def localTime: Config[LocalTime]
- def logLevel(name: String): Config[LogLevel]
- def logLevel: Config[LogLevel]
- def long(name: String): Config[Long]
- def long: Config[Long]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def offsetDateTime(name: String): Config[OffsetDateTime]
- def offsetDateTime: Config[OffsetDateTime]
- def secret(name: String): Config[Secret]
- def secret: Config[Secret]
- def setOf[A](name: String, config: Config[A]): Config[Set[A]]
- def setOf[A](config: Config[A]): Config[Set[A]]
- def string(name: String): Config[String]
- def string: Config[String]
- def succeed[A](value: ⇒ A): Config[A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def table[V](name: String, value: Config[V]): Config[Map[String, V]]
- def table[V](value: Config[V]): Config[Map[String, V]]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def uri(name: String): Config[URI]
- def uri: Config[URI]
- def vectorOf[A](name: String, config: Config[A]): Config[Vector[A]]
- def vectorOf[A](config: Config[A]): Config[Vector[A]]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object Bool extends Primitive[Boolean] with Product with Serializable
- object Decimal extends Primitive[BigDecimal] with Product with Serializable
- object Duration extends Primitive[zio.Duration] with Product with Serializable
- object Error extends Serializable
- object Fallback extends Serializable
- object Integer extends Primitive[BigInt] with Product with Serializable
- object LocalDate extends Primitive[LocalDate] with Product with Serializable
- object LocalDateTime extends Primitive[LocalDateTime] with Product with Serializable
- object LocalTime extends Primitive[LocalTime] with Product with Serializable
- object OffsetDateTime extends Primitive[OffsetDateTime] with Product with Serializable
- object Secret extends (Chunk[Char]) ⇒ Secret
- object SecretType extends Primitive[Secret] with Product with Serializable
- object Text extends Primitive[String] with Product with Serializable