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.

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. All

Instance Constructors

  1. new Task()

Abstract Value Members

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

    Evaluate this target

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

    What other Targets does this Target 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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def filter(f: (T) ⇒ Boolean): Task[T]
    Definition Classes
    Ops
  13. def flushDest: Boolean
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def map[V](f: (T) ⇒ V): Mapped[T, V]
    Definition Classes
    Ops
  18. def mapDest[V](f: (T, api.Ctx) ⇒ Result[V]): MappedDest[T, V]
    Definition Classes
    Ops
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def self: Task[T]
    Definition Classes
    TaskApplyable
  23. def sideHash: Int

    Even if this target'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( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  29. def withFilter(f: (T) ⇒ Boolean): Task[T]
    Definition Classes
    Ops
  30. def zip[V](other: Task[V]): Zipped[T, V]
    Definition Classes
    Ops

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from Applyable[Task, T]

Inherited from Ops[T]

Inherited from AnyRef

Inherited from Any

Ungrouped