sbt
package sbt
- Alphabetic
- Public
- All
Type Members
-
sealed
trait
Action
[T] extends AnyRef
Defines a task computation
-
final
case class
DependsOn
[T](in: Task[T], deps: Seq[Task[_]]) extends Action[T] with Product with Serializable
A computation
in
that requires other tasksdeps
to be evaluated first. -
final
case class
FlatMapped
[T, K[L[x]]](in: K[Task], f: (K[Result]) ⇒ Task[T], alist: AList[K]) extends Action[T] with Product with Serializable
Computes another task to evaluate based on results from evaluating other tasks.
-
final
case class
Info
[T](attributes: AttributeMap = AttributeMap.empty, post: (T) ⇒ AttributeMap = const(AttributeMap.empty)) extends Product with Serializable
Used to provide information about a task, such as the name, description, and tags for controlling concurrent execution.
Used to provide information about a task, such as the name, description, and tags for controlling concurrent execution.
- attributes
Arbitrary user-defined key/value pairs describing this task
- post
a transformation that takes the result of evaluating this task and produces user-defined key/value pairs.
-
final
case class
Join
[T, U](in: Seq[Task[U]], f: (Seq[Result[U]]) ⇒ Either[Task[T], T]) extends Action[T] with Product with Serializable
A computation that operates on the results of a homogeneous list of other tasks.
A computation that operates on the results of a homogeneous list of other tasks. It can either return another task to be evaluated or the final value.
-
final
case class
Mapped
[T, K[L[x]]](in: K[Task], f: (K[Result]) ⇒ T, alist: AList[K]) extends Action[T] with Product with Serializable
Applies a function to the result of evaluating a heterogeneous list of other tasks.
-
final
case class
Pure
[T](f: () ⇒ T, inline: Boolean) extends Action[T] with Product with Serializable
A direct computation of a value.
A direct computation of a value. If
inline
is true,f
will be evaluated on the scheduler thread without the overhead of normal scheduling when possible. This is intended as an optimization for already evaluated values or very short pure computations. -
final
case class
Task
[T](info: Info[T], work: Action[T]) extends Product with Serializable
Combines metadata
info
and a computationwork
to define a task.