Packages

class Evaluator extends Product with Serializable

Evaluate tasks.

Annotations
@Scaladoc()
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Evaluator
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Evaluator(_home: Path, _outPath: Path, _externalOutPath: Path, _rootModule: BaseModule, _baseLogger: ColorLogger, _classLoaderSig: Seq[(Either[String, URL], Long)] = Evaluator.classLoaderSig, _workerCache: Map[Segments, (Int, Any)] = mutable.Map.empty, _env: Map[String, String] = Evaluator.defaultEnv, _failFast: Boolean = true, _threadCount: Option[Int] = Some(1))
    Annotations
    @deprecated
    Deprecated

    (Since version mill 0.10.1) Use apply instead

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def baseLogger: ColorLogger
  6. def classLoaderSig: Seq[(Either[String, URL], Long)]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def destSegments(labelledTask: Labelled[_]): Segments
  9. val effectiveThreadCount: Int
  10. def env: Map[String, String]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def evaluate(goals: api.Strict.Agg[Task[_]], reporter: (Int) => Option[CompileProblemReporter] = _ => Option.empty[CompileProblemReporter], testReporter: TestReporter = DummyTestReporter, logger: ColorLogger = baseLogger): Results

    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

    Annotations
    @Scaladoc()
  14. def evaluateGroup(group: api.Strict.Agg[Task[_]], results: Map[Task[_], api.Result[(Any, Int)]], inputsHash: Int, paths: Option[EvaluatorPaths], maybeTargetLabel: Option[String], counterMsg: String, reporter: (Int) => Option[CompileProblemReporter], testReporter: TestReporter, logger: api.Logger): (LinkedHashMap[Task[_], api.Result[(Any, Int)]], Buffer[Task[_]])
    Attributes
    protected
  15. def evaluateGroupCached(terminal: Terminal, group: api.Strict.Agg[Task[_]], results: Map[Task[_], api.Result[(Any, Int)]], counterMsg: String, zincProblemReporter: (Int) => Option[CompileProblemReporter], testReporter: TestReporter, logger: ColorLogger): Evaluated
    Attributes
    protected
  16. def externalOutPath: Path

    The output base path to use for external modules.

    The output base path to use for external modules.

    Annotations
    @Scaladoc()
  17. def failFast: Boolean

    If true the first failing task will fail the evaluation.

    If true the first failing task will fail the evaluation. If false, it tries to evaluate all tasks, running longer and reporting possibly more than one failure.

    Annotations
    @Scaladoc()
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getFailing(sortedGroups: MultiBiMap[Either[Task[_], Labelled[Any]], Task[_]], results: Map[Task[_], api.Result[(Any, Int)]]): Mutable[Either[Task[_], Labelled[_]], Failing[_]]
  21. def handleTaskResult(v: Any, hashCode: Int, metaPath: Path, inputsHash: Int, labelledNamedTask: Labelled[_]): Unit
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def home: Path
  24. def importTree: Seq[ScriptNode]

    The tree of imports of the build ammonite scripts

    The tree of imports of the build ammonite scripts

    Annotations
    @Scaladoc()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def outPath: Path

    The output base path.

    The output base path.

    Annotations
    @Scaladoc()
  30. def parallelEvaluate(goals: api.Strict.Agg[Task[_]], threadCount: Int, logger: ColorLogger, reporter: (Int) => Option[CompileProblemReporter] = _ => Option.empty[CompileProblemReporter], testReporter: TestReporter = DummyTestReporter): Results
  31. val pathsResolver: EvaluatorPathsResolver
  32. def printTerm(term: Terminal): String
  33. def productElementName(n: Int): String
    Definition Classes
    Product
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. def productIterator: Iterator[Any]
    Definition Classes
    Product
  36. def productPrefix: String
    Definition Classes
    Product
  37. def resolveLogger(logPath: Option[Path], logger: api.Logger): api.Logger
  38. def rootModule: BaseModule

    The projects root module.

    The projects root module.

    Annotations
    @Scaladoc()
  39. def sequentialEvaluate(goals: api.Strict.Agg[Task[_]], logger: ColorLogger, reporter: (Int) => Option[CompileProblemReporter] = _ => Option.empty[CompileProblemReporter], testReporter: TestReporter = DummyTestReporter): Results
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def threadCount: Option[Int]

    If a Some the explicit number of threads to use for parallel task evaluation, or None to use n threads where n is the number of available logical processors.

    If a Some the explicit number of threads to use for parallel task evaluation, or None to use n threads where n is the number of available logical processors.

    Annotations
    @Scaladoc()
  42. def toString(): String
    Definition Classes
    Evaluator → AnyRef → Any
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. def withBaseLogger(baseLogger: ColorLogger): Evaluator
  47. def withClassLoaderSig(classLoaderSig: Seq[(Either[String, URL], Long)]): Evaluator
  48. def withEnv(env: Map[String, String]): Evaluator
  49. def withExternalOutPath(externalOutPath: Path): Evaluator
  50. def withFailFast(failFast: Boolean): Evaluator
  51. def withHome(home: Path): Evaluator
  52. def withImportTree(importTree: Seq[ScriptNode]): Evaluator
  53. def withOutPath(outPath: Path): Evaluator
  54. def withRootModule(rootModule: BaseModule): Evaluator
  55. def withThreadCount(threadCount: Option[Int]): Evaluator
  56. def withWorkerCache(workerCache: Map[Segments, (Int, Any)]): Evaluator
  57. def workerCache: Map[Segments, (Int, Any)]

    Mutable worker cache.

    Mutable worker cache.

    Annotations
    @Scaladoc()

Deprecated Value Members

  1. def canEqual(that: Any): Boolean
    Definition Classes
    Evaluator → Equals
    Annotations
    @deprecated
    Deprecated

    (Since version mill 0.10.1) Binary compatibility shim. To be removed

  2. def classLoaderSignHash: Int
    Annotations
    @deprecated
    Deprecated

    (Since version mill 0.10.1) To be removed

  3. def copy(home: Path = this.home, outPath: Path = this.outPath, externalOutPath: Path = this.externalOutPath, rootModule: BaseModule = this.rootModule, baseLogger: ColorLogger = this.baseLogger, classLoaderSig: Seq[(Either[String, URL], Long)] = this.classLoaderSig, workerCache: Map[Segments, (Int, Any)] = this.workerCache, env: Map[String, String] = this.env, failFast: Boolean = this.failFast, threadCount: Option[Int] = this.threadCount): Evaluator
    Annotations
    @deprecated
    Deprecated

    (Since version mill 0.10.1) Use withX methods instead

  4. def productArity: Int
    Definition Classes
    Evaluator → Product
    Annotations
    @deprecated
    Deprecated

    (Since version mill 0.10.1) Binary compatibility shim. To be removed

  5. def productElement(n: Int): Any
    Definition Classes
    Evaluator → Product
    Annotations
    @deprecated
    Deprecated

    (Since version mill 0.10.1) Binary compatibility shim. To be removed

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped