Task

sbt.Task
See theTask companion object
final class Task[A](val attributes: AttributeMap, val post: A => AttributeMap, val work: Action[A]) extends TaskId[A]

Combines metadata attributes and a computation work to define a task.

Attributes

Companion
object
Graph
Supertypes
trait TaskId[A]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def description: Option[String]
def get[B](key: AttributeKey[B]): Option[B]
def getOrElse[B](key: AttributeKey[B], default: => B): B
def name: Option[String]
def postTransform(f: (A, AttributeMap) => AttributeMap): Task[A]
def set[B](key: AttributeKey[B], value: B): Task[A]
def setDescription(description: String): Task[A]
def setName(name: String): Task[A]
def tag(tags: Tag*): Task[A]
def tags: TagMap
def tagw(tags: (Tag, Int)*): Task[A]
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Concrete fields

val attributes: AttributeMap
val post: A => AttributeMap
val work: Action[A]