Attributed

sbt.internal.util.Attributed
See theAttributed companion object
final case class Attributed[A1](data: A1)(metadata: StringAttributeMap)

Associates a metadata map with data.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def get(key: StringAttributeKey): Option[String]

Retrieves the associated value of key from the metadata.

Retrieves the associated value of key from the metadata.

Attributes

def map[A2](f: A1 => A2): Attributed[A2]

Transforms the data by applying f.

Transforms the data by applying f.

Attributes

def put(key: StringAttributeKey, value: String): Attributed[A1]

Defines a mapping key -> value in the metadata.

Defines a mapping key -> value in the metadata.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields