Evaluator

mill.define.Evaluator
See theEvaluator companion object
trait Evaluator extends AutoCloseable, EvaluatorApi

Attributes

Companion
object
Source
Evaluator.scala
Graph
Supertypes
trait EvaluatorApi
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def evaluate(scriptArgs: Seq[String], selectMode: SelectMode, selectiveExecution: Boolean): Result[Result[Any]]

Attributes

Source
Evaluator.scala
def execute[T](targets: Seq[Task[T]], reporter: Int => Option[CompileProblemReporter], testReporter: TestReporter, logger: Logger, serialCommandExec: Boolean, selectiveExecution: Boolean): Result[T]

Attributes

Source
Evaluator.scala
def groupAroundImportantTargets[T](topoSortedTargets: TopoSorted)(important: PartialFunction[Task[_], T]): MultiBiMap[T, Task[_]]

Attributes

Source
Evaluator.scala
def plan(tasks: Seq[Task[_]]): Plan

Attributes

Source
Evaluator.scala
def resolveModulesOrTasks(scriptArgs: Seq[String], selectMode: SelectMode, allowPositionalCommandArgs: Boolean, resolveToModuleTasks: Boolean): Result[List[Either[Module, NamedTask[_]]]]

Attributes

Source
Evaluator.scala
def resolveSegments(scriptArgs: Seq[String], selectMode: SelectMode, allowPositionalCommandArgs: Boolean, resolveToModuleTasks: Boolean): Result[List[Segments]]

Attributes

Source
Evaluator.scala
def resolveTasks(scriptArgs: Seq[String], selectMode: SelectMode, allowPositionalCommandArgs: Boolean, resolveToModuleTasks: Boolean): Result[List[NamedTask[_]]]

Attributes

Source
Evaluator.scala
@Scaladoc(value = "/**\n * APIs related to selective execution\n */")
def selective: SelectiveExecution

APIs related to selective execution

APIs related to selective execution

Attributes

Source
Evaluator.scala
@Scaladoc(value = "/**\n * Takes the given targets, finds all the targets they transitively depend\n * on, and sort them topologically. Fails if there are dependency cycles\n */")
def topoSorted(transitiveTargets: IndexedSeq[Task[_]]): TopoSorted

Takes the given targets, finds all the targets they transitively depend on, and sort them topologically. Fails if there are dependency cycles

Takes the given targets, finds all the targets they transitively depend on, and sort them topologically. Fails if there are dependency cycles

Attributes

Source
Evaluator.scala
@Scaladoc(value = "/**\n * Collects all transitive dependencies (targets) of the given targets,\n * including the given targets.\n */")
def transitiveTargets(sourceTargets: Seq[Task[_]]): IndexedSeq[Task[_]]

Collects all transitive dependencies (targets) of the given targets, including the given targets.

Collects all transitive dependencies (targets) of the given targets, including the given targets.

Attributes

Source
Evaluator.scala
def withBaseLogger(newBaseLogger: Logger): Evaluator

Attributes

Source
Evaluator.scala

Inherited and Abstract methods

def close(): Unit

Attributes

Inherited from:
AutoCloseable