NamedTask

mill.define.NamedTask
@Scaladoc(value = "/**\n * Represents a task that can be referenced by its path segments. `Task{...}`\n * targets, `Task.Input`, `Task.Worker`, etc. but not including anonymous\n * `Task.Anon` or `Task.traverse` etc. instances\n */")
trait NamedTask[+T] extends Task[T]

Represents a task that can be referenced by its path segments. Task{...} targets, Task.Input, Task.Worker, etc. but not including anonymous Task.Anon or Task.traverse etc. instances

Attributes

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

Members list

Value members

Abstract methods

def ctx0: Ctx

Attributes

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

Attributes

Source
Task.scala
def isPrivate: Option[Boolean]

Attributes

Source
Task.scala

Concrete methods

def evaluate(ctx: Ctx): Result[T]

Evaluate this task

Evaluate this task

Attributes

Source
Task.scala
def label: String

Attributes

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

Attributes

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
Any
Source
Task.scala
def writerOpt: Option[Writer[_]]

Attributes

Source
Task.scala

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 filter(f: T => Boolean): Task[T]

Attributes

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

Attributes

Inherited from:
Task
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
@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
def withFilter(f: T => Boolean): Task[T]

Attributes

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

Attributes

Inherited from:
Ops
Source
Task.scala

Concrete fields

val ctx: Ctx

Attributes

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