Source

final case class Source[F[_]](name: SourceName, prepare: F[Either[String, Store[F]]])(implicit F: Applicative[F])
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def expandInlineProperties(key: String)(implicit F: Monad[F]): Source[F]

If a value is provided at the specified key, treat it as the contents of a properties file, expand it by merging it with all the top-level properties, then remove it.

If a value is provided at the specified key, treat it as the contents of a properties file, expand it by merging it with all the top-level properties, then remove it.

Eg. if you expand the "INLINE" key below

 A = 1
 INLINE = B = 2
          C = 3

then you get the following result

 A = 1
 B = 2
 C = 3
def mapKeyQueries(f: Key => List[Key]): Source[F]

Expands each key query into multiple, and chooses the first that returns a result.

Expands each key query into multiple, and chooses the first that returns a result.

def mapStore(f: Store[F] => Store[F]): Source[F]
def mapValues(f: String => String): Source[F]
def mapValues(f: (Key, String) => String): Source[F]
def normaliseKeys(f: Key => Key): Source[F]
override def toString: String
Definition Classes
Any
def trans[G[_]](t: FunctionK[F, G])(implicit G: Applicative[G]): Source[G]
def withSuffix(s: String): Source[F]

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product