FlagSource

zio.blocks.config.FlagSource
See theFlagSource companion object
trait FlagSource

A scalar source of flag values.

Attributes

Companion
object
Source
FlagSource.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ConfigSource
class MapSource
object EnvSource
object SysPropSource

Members list

Value members

Abstract methods

def get(name: String): Maybe[SourceValue[String]]

Resolve a raw string value by name together with provenance.

Resolve a raw string value by name together with provenance.

Attributes

Source
FlagSource.scala
def sourceId: String

Unique identifier for this source.

Unique identifier for this source.

Attributes

Source
FlagSource.scala

Concrete methods

final def orElse(fallback: FlagSource): FlagSource

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

Source
FlagSource.scala