Execution

mill.exec.Execution
See theExecution companion object
case class Execution(baseLogger: Logger, profileLogger: Profile, workspace: Path, outPath: Path, externalOutPath: Path, rootModule: BaseModuleApi, classLoaderSigHash: Int, classLoaderIdentityHash: Int, workerCache: Map[String, (Int, Val)], env: Map[String, String], failFast: Boolean, ec: Option[ThreadPoolExecutor], codeSignatures: Map[String, Int], systemExit: (String, Int) => Nothing, exclusiveSystemStreams: SystemStreams, getEvaluator: () => EvaluatorApi, offline: Boolean, buildOverrides0: Map[String, String], enableTicker: Boolean) extends GroupExecution, AutoCloseable

Core logic of evaluating tasks, without any user-facing helper methods

Attributes

Companion
object
Source
Execution.scala
Graph
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(baseLogger: Logger, workspace: Path, outPath: Path, externalOutPath: Path, rootModule: BaseModuleApi, classLoaderSigHash: Int, classLoaderIdentityHash: Int, workerCache: Map[String, (Int, Val)], env: Map[String, String], failFast: Boolean, ec: Option[ThreadPoolExecutor], codeSignatures: Map[String, Int], systemExit: (String, Int) => Nothing, exclusiveSystemStreams: SystemStreams, getEvaluator: () => EvaluatorApi, offline: Boolean, buildOverrides0: Map[String, String], enableTicker: Boolean)

Attributes

Source
Execution.scala

Concrete methods

def close(): Unit

Attributes

Source
Execution.scala
def executeTasks(goals: Seq[Task[_]], reporter: Int => Option[CompileProblemReporter], testReporter: TestReporter, logger: Logger, serialCommandExec: Boolean): Results

Value parameters

goals

The tasks that need to be evaluated

reporter

A function that will accept a module id and provide a listener for build problems in that module

testReporter

Listener for test events like start, finish with success/error

Attributes

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

Attributes

Source
Execution.scala

Inherited methods

def executeGroupCached(terminal: Task[_], group: Seq[Task[_]], results: Map[Task[_], ExecResult[(Val, Int)]], countMsg: String, zincProblemReporter: Int => Option[CompileProblemReporter], testReporter: TestReporter, logger: Logger, deps: Seq[Task[_]], classToTransitiveClasses: Map[Class[_], IndexedSeq[Class[_]]], allTransitiveClassMethods: Map[Class[_], Map[String, Method]], executionContext: Api, exclusive: Boolean, upstreamPathRefs: Seq[PathRef]): Results

Attributes

Inherited from:
GroupExecution
Source
GroupExecution.scala
def getValueHash(v: Val, task: Task[_], inputsHash: Int): Int

Attributes

Inherited from:
GroupExecution
Source
GroupExecution.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def resolveLogger(logPath: Option[Path], logger: Logger): (Logger, Option[AutoCloseable])

Attributes

Inherited from:
GroupExecution
Source
GroupExecution.scala
def workerCacheHash(inputHash: Int): Int

Attributes

Inherited from:
GroupExecution
Source
GroupExecution.scala
def writeCacheJson(metaPath: Path, json: Value, hashCode: Int, inputsHash: Int): Unit

Attributes

Inherited from:
GroupExecution
Source
GroupExecution.scala

Inherited fields

lazy val constructorHashSignatures: Map[String, Seq[(String, Int)]]

Attributes

Inherited from:
GroupExecution
Source
GroupExecution.scala

Attributes

Inherited from:
GroupExecution
Source
GroupExecution.scala

Attributes

Inherited from:
GroupExecution
Source
GroupExecution.scala
val javaHomeHash: Int

Attributes

Inherited from:
GroupExecution
Source
GroupExecution.scala
val staticBuildOverrides: Map[String, Value]

Attributes

Inherited from:
GroupExecution
Source
GroupExecution.scala