object ConfigReader extends BasicReaders with CollectionReaders with ProductReaders with ExportedReaders
Provides methods to create ConfigReader instances.
- Alphabetic
- By Inheritance
- ConfigReader
- ExportedReaders
- ProductReaders
- CollectionReaders
- BasicReaders
- TypesafeConfigReaders
- NumericReaders
- DurationReaders
- JavaTimeReaders
- RegexReaders
- UriAndPathReaders
- JavaEnumReader
- PrimitiveReaders
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
Result[A] = Either[ConfigReaderFailures, A]
The type of most config PureConfig reading methods.
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
- def apply[A](implicit reader: Derivation[ConfigReader[A]]): ConfigReader[A]
-
implicit
def
arrayReader[A](implicit arg0: ClassTag[A], reader: Derivation[ConfigReader[A]]): ConfigReader[Array[A]]
- Definition Classes
- CollectionReaders
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
val
booleanConfigReader: ConfigReader[Boolean]
- Definition Classes
- PrimitiveReaders
-
implicit
val
byteConfigReader: ConfigReader[Byte]
- Definition Classes
- PrimitiveReaders
-
implicit
val
charConfigReader: ConfigReader[Char]
- Definition Classes
- PrimitiveReaders
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
implicit
val
configConfigReader: ConfigReader[Config]
- Definition Classes
- TypesafeConfigReaders
-
implicit
val
configListConfigReader: ConfigReader[ConfigList]
- Definition Classes
- TypesafeConfigReaders
-
implicit
val
configMemorySizeReader: ConfigReader[ConfigMemorySize]
- Definition Classes
- TypesafeConfigReaders
-
implicit
val
configObjectConfigReader: ConfigReader[ConfigObject]
- Definition Classes
- TypesafeConfigReaders
-
implicit
val
configValueConfigReader: ConfigReader[ConfigValue]
- Definition Classes
- TypesafeConfigReaders
-
implicit
val
doubleConfigReader: ConfigReader[Double]
- Definition Classes
- PrimitiveReaders
-
implicit
val
durationConfigReader: ConfigReader[Duration]
- Definition Classes
- DurationReaders
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
exportedReader[A](implicit exported: Exported[ConfigReader[A]]): ConfigReader[A]
- Definition Classes
- ExportedReaders
-
implicit
val
fileConfigReader: ConfigReader[File]
- Definition Classes
- UriAndPathReaders
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
implicit
val
finiteDurationConfigReader: ConfigReader[FiniteDuration]
- Definition Classes
- DurationReaders
-
implicit
val
floatConfigReader: ConfigReader[Float]
- Definition Classes
- PrimitiveReaders
-
final
def
forProduct1[B, A0](keyA0: String)(f: (A0) ⇒ B)(implicit readerA0: ConfigReader[A0]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the value of 1 key.Builds a
ConfigReader
for an object created from the value of 1 key.- B
the type of the target object
- f
the function converting the read value to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the value in the provided key usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct10[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 10 keys.Builds a
ConfigReader
for an object created from the values of 10 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct11[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 11 keys.Builds a
ConfigReader
for an object created from the values of 11 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct12[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String, keyA11: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10], readerA11: ConfigReader[A11]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 12 keys.Builds a
ConfigReader
for an object created from the values of 12 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct13[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String, keyA11: String, keyA12: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10], readerA11: ConfigReader[A11], readerA12: ConfigReader[A12]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 13 keys.Builds a
ConfigReader
for an object created from the values of 13 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct14[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String, keyA11: String, keyA12: String, keyA13: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10], readerA11: ConfigReader[A11], readerA12: ConfigReader[A12], readerA13: ConfigReader[A13]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 14 keys.Builds a
ConfigReader
for an object created from the values of 14 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct15[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String, keyA11: String, keyA12: String, keyA13: String, keyA14: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10], readerA11: ConfigReader[A11], readerA12: ConfigReader[A12], readerA13: ConfigReader[A13], readerA14: ConfigReader[A14]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 15 keys.Builds a
ConfigReader
for an object created from the values of 15 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct16[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String, keyA11: String, keyA12: String, keyA13: String, keyA14: String, keyA15: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10], readerA11: ConfigReader[A11], readerA12: ConfigReader[A12], readerA13: ConfigReader[A13], readerA14: ConfigReader[A14], readerA15: ConfigReader[A15]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 16 keys.Builds a
ConfigReader
for an object created from the values of 16 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct17[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String, keyA11: String, keyA12: String, keyA13: String, keyA14: String, keyA15: String, keyA16: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10], readerA11: ConfigReader[A11], readerA12: ConfigReader[A12], readerA13: ConfigReader[A13], readerA14: ConfigReader[A14], readerA15: ConfigReader[A15], readerA16: ConfigReader[A16]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 17 keys.Builds a
ConfigReader
for an object created from the values of 17 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct18[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String, keyA11: String, keyA12: String, keyA13: String, keyA14: String, keyA15: String, keyA16: String, keyA17: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10], readerA11: ConfigReader[A11], readerA12: ConfigReader[A12], readerA13: ConfigReader[A13], readerA14: ConfigReader[A14], readerA15: ConfigReader[A15], readerA16: ConfigReader[A16], readerA17: ConfigReader[A17]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 18 keys.Builds a
ConfigReader
for an object created from the values of 18 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct19[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String, keyA11: String, keyA12: String, keyA13: String, keyA14: String, keyA15: String, keyA16: String, keyA17: String, keyA18: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10], readerA11: ConfigReader[A11], readerA12: ConfigReader[A12], readerA13: ConfigReader[A13], readerA14: ConfigReader[A14], readerA15: ConfigReader[A15], readerA16: ConfigReader[A16], readerA17: ConfigReader[A17], readerA18: ConfigReader[A18]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 19 keys.Builds a
ConfigReader
for an object created from the values of 19 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct2[B, A0, A1](keyA0: String, keyA1: String)(f: (A0, A1) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 2 keys.Builds a
ConfigReader
for an object created from the values of 2 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct20[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String, keyA11: String, keyA12: String, keyA13: String, keyA14: String, keyA15: String, keyA16: String, keyA17: String, keyA18: String, keyA19: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10], readerA11: ConfigReader[A11], readerA12: ConfigReader[A12], readerA13: ConfigReader[A13], readerA14: ConfigReader[A14], readerA15: ConfigReader[A15], readerA16: ConfigReader[A16], readerA17: ConfigReader[A17], readerA18: ConfigReader[A18], readerA19: ConfigReader[A19]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 20 keys.Builds a
ConfigReader
for an object created from the values of 20 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct21[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String, keyA11: String, keyA12: String, keyA13: String, keyA14: String, keyA15: String, keyA16: String, keyA17: String, keyA18: String, keyA19: String, keyA20: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10], readerA11: ConfigReader[A11], readerA12: ConfigReader[A12], readerA13: ConfigReader[A13], readerA14: ConfigReader[A14], readerA15: ConfigReader[A15], readerA16: ConfigReader[A16], readerA17: ConfigReader[A17], readerA18: ConfigReader[A18], readerA19: ConfigReader[A19], readerA20: ConfigReader[A20]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 21 keys.Builds a
ConfigReader
for an object created from the values of 21 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct22[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String, keyA9: String, keyA10: String, keyA11: String, keyA12: String, keyA13: String, keyA14: String, keyA15: String, keyA16: String, keyA17: String, keyA18: String, keyA19: String, keyA20: String, keyA21: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8], readerA9: ConfigReader[A9], readerA10: ConfigReader[A10], readerA11: ConfigReader[A11], readerA12: ConfigReader[A12], readerA13: ConfigReader[A13], readerA14: ConfigReader[A14], readerA15: ConfigReader[A15], readerA16: ConfigReader[A16], readerA17: ConfigReader[A17], readerA18: ConfigReader[A18], readerA19: ConfigReader[A19], readerA20: ConfigReader[A20], readerA21: ConfigReader[A21]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 22 keys.Builds a
ConfigReader
for an object created from the values of 22 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct3[B, A0, A1, A2](keyA0: String, keyA1: String, keyA2: String)(f: (A0, A1, A2) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 3 keys.Builds a
ConfigReader
for an object created from the values of 3 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct4[B, A0, A1, A2, A3](keyA0: String, keyA1: String, keyA2: String, keyA3: String)(f: (A0, A1, A2, A3) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 4 keys.Builds a
ConfigReader
for an object created from the values of 4 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct5[B, A0, A1, A2, A3, A4](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String)(f: (A0, A1, A2, A3, A4) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 5 keys.Builds a
ConfigReader
for an object created from the values of 5 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct6[B, A0, A1, A2, A3, A4, A5](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String)(f: (A0, A1, A2, A3, A4, A5) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 6 keys.Builds a
ConfigReader
for an object created from the values of 6 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct7[B, A0, A1, A2, A3, A4, A5, A6](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String)(f: (A0, A1, A2, A3, A4, A5, A6) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 7 keys.Builds a
ConfigReader
for an object created from the values of 7 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct8[B, A0, A1, A2, A3, A4, A5, A6, A7](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 8 keys.Builds a
ConfigReader
for an object created from the values of 8 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
final
def
forProduct9[B, A0, A1, A2, A3, A4, A5, A6, A7, A8](keyA0: String, keyA1: String, keyA2: String, keyA3: String, keyA4: String, keyA5: String, keyA6: String, keyA7: String, keyA8: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8) ⇒ B)(implicit readerA0: ConfigReader[A0], readerA1: ConfigReader[A1], readerA2: ConfigReader[A2], readerA3: ConfigReader[A3], readerA4: ConfigReader[A4], readerA5: ConfigReader[A5], readerA6: ConfigReader[A6], readerA7: ConfigReader[A7], readerA8: ConfigReader[A8]): ConfigReader[B]
Builds a
ConfigReader
for an object created from the values of 9 keys.Builds a
ConfigReader
for an object created from the values of 9 keys.- B
the type of the target object
- f
the function converting the read values to the target object
- returns
a
ConfigReader
for an object of typeB
that is created from the values in the provided keys usingf
.
- Definition Classes
- ProductReaders
-
def
fromCursor[A](fromF: (ConfigCursor) ⇒ Result[A]): ConfigReader[A]
Creates a
ConfigReader
from a function reading aConfigCursor
.Creates a
ConfigReader
from a function reading aConfigCursor
.- A
the type of the objects readable by the returned reader
- fromF
the function used to read config cursors to values
- returns
a
ConfigReader
for reading objects of typeA
usingfromF
.
-
def
fromFunction[A](fromF: (ConfigValue) ⇒ Result[A]): ConfigReader[A]
Creates a
ConfigReader
from a function.Creates a
ConfigReader
from a function.- A
the type of the objects readable by the returned reader
- fromF
the function used to read configs to values
- returns
a
ConfigReader
for reading objects of typeA
usingfromF
.
- def fromNonEmptyString[A](fromF: (String) ⇒ Either[FailureReason, A])(implicit ct: ClassTag[A]): ConfigReader[A]
- def fromNonEmptyStringOpt[A](fromF: (String) ⇒ Option[A])(implicit ct: ClassTag[A]): ConfigReader[A]
- def fromNonEmptyStringTry[A](fromF: (String) ⇒ Try[A])(implicit ct: ClassTag[A]): ConfigReader[A]
- def fromString[A](fromF: (String) ⇒ Either[FailureReason, A]): ConfigReader[A]
- def fromStringOpt[A](fromF: (String) ⇒ Option[A])(implicit ct: ClassTag[A]): ConfigReader[A]
- def fromStringTry[A](fromF: (String) ⇒ Try[A])(implicit ct: ClassTag[A]): ConfigReader[A]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
implicit
val
instantConfigReader: ConfigReader[Instant]
- Definition Classes
- JavaTimeReaders
-
implicit
val
intConfigReader: ConfigReader[Int]
- Definition Classes
- PrimitiveReaders
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
val
javaBigDecimalReader: ConfigReader[BigDecimal]
- Definition Classes
- NumericReaders
-
implicit
val
javaBigIntegerReader: ConfigReader[BigInteger]
- Definition Classes
- NumericReaders
-
implicit
val
javaDurationConfigReader: ConfigReader[Duration]
- Definition Classes
- JavaTimeReaders
-
implicit
def
javaEnumReader[A <: Enum[A]](implicit tag: ClassTag[A]): ConfigReader[A]
- Definition Classes
- JavaEnumReader
-
implicit
val
longConfigReader: ConfigReader[Long]
- Definition Classes
- PrimitiveReaders
-
implicit
def
mapReader[A](implicit reader: Derivation[ConfigReader[A]]): ConfigReader[Map[String, A]]
- Definition Classes
- CollectionReaders
-
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()
-
implicit
def
optionReader[A](implicit conv: Derivation[ConfigReader[A]]): ConfigReader[Option[A]]
- Definition Classes
- CollectionReaders
-
implicit
val
pathConfigReader: ConfigReader[Path]
- Definition Classes
- UriAndPathReaders
-
implicit
val
patternReader: ConfigReader[Pattern]
- Definition Classes
- RegexReaders
-
implicit
val
periodConfigReader: ConfigReader[Period]
- Definition Classes
- JavaTimeReaders
-
implicit
val
regexReader: ConfigReader[Regex]
- Definition Classes
- RegexReaders
-
implicit
val
scalaBigDecimalReader: ConfigReader[BigDecimal]
- Definition Classes
- NumericReaders
-
implicit
val
scalaBigIntReader: ConfigReader[BigInt]
- Definition Classes
- NumericReaders
-
implicit
val
shortConfigReader: ConfigReader[Short]
- Definition Classes
- PrimitiveReaders
-
implicit
val
stringConfigReader: ConfigReader[String]
- Definition Classes
- PrimitiveReaders
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
implicit
def
traversableReader[A, F[A] <: TraversableOnce[A]](implicit configConvert: Derivation[ConfigReader[A]], cbf: FactoryCompat[A, F[A]]): ConfigReader[F[A]]
- Definition Classes
- CollectionReaders
-
implicit
val
uriConfigReader: ConfigReader[URI]
- Definition Classes
- UriAndPathReaders
-
implicit
val
urlConfigReader: ConfigReader[URL]
- Definition Classes
- UriAndPathReaders
-
implicit
val
uuidConfigReader: ConfigReader[UUID]
- Definition Classes
- UriAndPathReaders
-
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()
-
implicit
val
yearConfigReader: ConfigReader[Year]
- Definition Classes
- JavaTimeReaders
-
implicit
val
zoneIdConfigReader: ConfigReader[ZoneId]
- Definition Classes
- JavaTimeReaders
-
implicit
val
zoneOffsetConfigReader: ConfigReader[ZoneOffset]
- Definition Classes
- JavaTimeReaders
-
object
Result
Object containing useful constructors and utility methods for
Result
s.