Task

sbt.Task
See theTask companion object
final case class Task[A](info: Info[A], work: Action[A]) extends TaskId[A]

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

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TaskId[A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def attributes: AttributeMap
override def hashCode: Int

Calculate a hash code value for the object.

Calculate a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns

the hash code value for this object.

Definition Classes
Any
def name: Option[String]
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

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product