abstract class Task[+T] extends Ops[T] with Applyable[Task, T]

Models a single node in the Mill build graph, with a list of inputs and a single output of type T.

Generally not instantiated manually, but instead constructed via the Target.apply & similar macros.

Source
Task.scala
Linear Supertypes
Applyable[Task, T], Ops[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Task
  2. Applyable
  3. Ops
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Task()

Abstract Value Members

  1. abstract def evaluate(args: api.Ctx): Result[T]

    Evaluate this task

  2. abstract val inputs: Seq[Task[_]]

    What other tasks does this task depend on?

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply()(implicit handler: ApplyHandler[Task]): T
    Definition Classes
    Applyable
  5. def asCommand: Option[Command[T]]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asTarget: Option[Target[T]]
  8. def asWorker: Option[Worker[T]]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def filter(f: (T) => Boolean): Task[T]
    Definition Classes
    Ops
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. def flushDest: Boolean

    Whether or not this Task deletes the T.dest folder between runs

  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def map[V](f: (T) => V): Task[V]
    Definition Classes
    Ops
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def self: Task[T]
    Definition Classes
    TaskApplyable
  23. def sideHash: Int

    Even if this tasks's inputs did not change, does it need to re-evaluate anyway?

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. def withFilter(f: (T) => Boolean): Task[T]
    Definition Classes
    Ops
  30. def zip[V](other: Task[V]): Task[(T, V)]
    Definition Classes
    Ops

Inherited from Applyable[Task, T]

Inherited from Ops[T]

Inherited from AnyRef

Inherited from Any

Ungrouped