MapSource
A config source backed by an in-memory map.
Attributes
- Source
- ConfigSource.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ConfigSourcetrait FlagSourceclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Return all key-value pairs whose keys start with the given prefix (using dot-separated paths).
Return all key-value pairs whose keys start with the given prefix (using dot-separated paths).
Attributes
- Source
- ConfigSource.scala
Look up a single key and return its value with provenance, or None if absent.
Look up a single key and return its value with provenance, or None if absent.
Attributes
- Source
- ConfigSource.scala
Inherited methods
Attributes
- Inherited from:
- ConfigSource
- Source
- ConfigSource.scala
Apply a key transformation before lookup. The mapper transforms the requested key before it is passed to the underlying source.
Apply a key transformation before lookup. The mapper transforms the requested key before it is passed to the underlying source.
Attributes
- Inherited from:
- ConfigSource
- Source
- ConfigSource.scala
Compose this source with a fallback. Keys are looked up in this source first; if absent, the fallback is consulted. Provenance tracks the actual providing source.
Compose this source with a fallback. Keys are looked up in this source first; if absent, the fallback is consulted. Provenance tracks the actual providing source.
Attributes
- Inherited from:
- ConfigSource
- Source
- ConfigSource.scala
Compose this source with a fallback. This source is consulted first; if it returns None, the fallback is tried.
Compose this source with a fallback. This source is consulted first; if it returns None, the fallback is tried.
Attributes
- Inherited from:
- FlagSource
- Source
- FlagSource.scala
Prepend a prefix to all key lookups. For example, source.prefix("db").get("host") looks up "db.host" in the underlying source.
Prepend a prefix to all key lookups. For example, source.prefix("db").get("host") looks up "db.host" in the underlying source.
Attributes
- Inherited from:
- ConfigSource
- Source
- ConfigSource.scala
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala