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]) @HotSpotIntrinsicCandidate() @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 flushDest: Boolean

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

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

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

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Applyable[Task, T]

Inherited from Ops[T]

Inherited from AnyRef

Inherited from Any

Ungrouped