Target

mill.define.Target
See theTarget companion object
@Scaladoc(value = "/**\n * A Target is a [[NamedTask]] that is cached on disk; either a\n * [[TargetImpl]] or an [[InputImpl]]\n */")
trait Target[+T] extends NamedTask[T]

A Target is a NamedTask that is cached on disk; either a TargetImpl or an InputImpl

Attributes

Companion
object
Source
Task.scala
Graph
Supertypes
trait NamedTask[T]
class Task[T]
trait Applyable[Task, T]
class Ops[T]
class Object
trait Matchable
class Any
Show all
Known subtypes
class InputImpl[T]
class SourceImpl
class SourcesImpl
class TargetImpl[T]

Members list

Value members

Inherited methods

def apply(): T

Attributes

Inherited from:
Applyable
Source
Applicative.scala
def asCommand: Option[Command[T]]

Attributes

Inherited from:
Task
Source
Task.scala
def asTarget: Option[Target[T]]

Attributes

Inherited from:
Task
Source
Task.scala
def asWorker: Option[Worker[T]]

Attributes

Inherited from:
Task
Source
Task.scala
def evaluate(ctx: Ctx): Result[T]

Evaluate this task

Evaluate this task

Attributes

Inherited from:
NamedTask
Source
Task.scala
def filter(f: T => Boolean): Task[T]

Attributes

Inherited from:
Ops
Source
Task.scala
def isExclusiveCommand: Boolean

Attributes

Inherited from:
Task
Source
Task.scala
def label: String

Attributes

Inherited from:
NamedTask
Source
Task.scala
def map[V](f: T => V): Task[V]

Attributes

Inherited from:
Ops
Source
Task.scala
@Scaladoc(value = "/**\n * Whether or not this [[Task]] deletes the `Task.dest` folder between runs\n */")
def persistent: Boolean

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

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

Attributes

Inherited from:
Task
Source
Task.scala
def readWriterOpt: Option[ReadWriter[_]]

Attributes

Inherited from:
NamedTask
Source
Task.scala
@Scaladoc(value = "/**\n * Even if this tasks\'s inputs did not change, does it need to re-evaluate\n * anyway?\n */")
def sideHash: Int

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

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

Attributes

Inherited from:
Task
Source
Task.scala
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
NamedTask -> Any
Inherited from:
NamedTask
Source
Task.scala
def withFilter(f: T => Boolean): Task[T]

Attributes

Inherited from:
Ops
Source
Task.scala
def writerOpt: Option[Writer[_]]

Attributes

Inherited from:
NamedTask
Source
Task.scala
def zip[V](other: Task[V]): Task[(T, V)]

Attributes

Inherited from:
Ops
Source
Task.scala

Inherited and Abstract methods

def ctx0: Ctx

Attributes

Inherited from:
NamedTask
Source
Task.scala
def evaluate0: (Seq[Any], Ctx) => Result[T]

Attributes

Inherited from:
NamedTask
Source
Task.scala
def isPrivate: Option[Boolean]

Attributes

Inherited from:
NamedTask
Source
Task.scala

Inherited fields

val ctx: Ctx

Attributes

Inherited from:
NamedTask
Source
Task.scala

Inherited and Abstract fields

@Scaladoc(value = "/**\n * What other tasks does this task depend on?\n */")
val inputs: Seq[Task[_]]

What other tasks does this task depend on?

What other tasks does this task depend on?

Attributes

Inherited from:
Task
Source
Task.scala