Command

mill.define.Command
class Command[+T](val inputs: Seq[Task[Any]], val evaluate0: (Seq[Any], Ctx) => Result[T], val ctx0: Ctx, val writer: Writer[_], val isPrivate: Option[Boolean], val exclusive: Boolean) extends NamedTask[T]

Attributes

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

Members list

Value members

Concrete methods

override def asCommand: Some[Command[T]]

Attributes

Definition Classes
Source
Task.scala
override def writerOpt: Some[Writer[_]]

Attributes

Definition Classes
Source
Task.scala

Inherited methods

def apply(): T

Attributes

Inherited from:
Applyable
Source
Applicative.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 zip[V](other: Task[V]): Task[(T, V)]

Attributes

Inherited from:
Ops
Source
Task.scala

Concrete fields

val ctx0: Ctx

Attributes

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

Attributes

Source
Task.scala
val exclusive: Boolean

Attributes

Source
Task.scala
val inputs: Seq[Task[Any]]

What other tasks does this task depend on?

What other tasks does this task depend on?

Attributes

Source
Task.scala
val isPrivate: Option[Boolean]

Attributes

Source
Task.scala
val writer: Writer[_]

Attributes

Source
Task.scala

Inherited fields

val ctx: Ctx

Attributes

Inherited from:
NamedTask
Source
Task.scala