Packages

object Evaluator extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Evaluator
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class Cached(value: Value, valueHash: Int, inputsHash: Int) extends Product with Serializable
  2. class EvalOrThrow extends AnyRef
  3. case class Evaluated(newResults: Map[Task[_], api.Result[(Any, Int)]], newEvaluated: Seq[Task[_]], cached: Boolean) extends Product with Serializable
  4. class NextCounterMsg extends AnyRef
  5. case class Results(rawValues: Seq[api.Result[Any]], evaluated: api.Strict.Agg[Task[_]], transitive: api.Strict.Agg[Task[_]], failing: MultiBiMap[Either[Task[_], Labelled[_]], Failing[_]], results: Map[Task[_], api.Result[Any]]) extends Product with Serializable
  6. case class Timing(label: String, millis: Int, cached: Boolean) extends Product with Serializable

Deprecated Type Members

  1. type Paths = EvaluatorPaths
    Annotations
    @deprecated
    Deprecated

    (Since version mill-0.10.0-M3) Use EvaluatorPaths 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 classLoaderSig: Seq[(Either[String, URL], Long)]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. val currentEvaluator: ThreadLocal[Evaluator]
  8. val defaultEnv: Map[String, String]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def evalOrThrow(evaluator: Evaluator, exceptionFactory: (Results) => Throwable = r => new Exception(s"Failure during task evaluation: ${Evaluator.formatFailing(r)}")): EvalOrThrow

    Evaluate given task(s) and return the successful result(s), or throw an exception.

  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def formatFailing(evaluated: Results): String
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def plan(rootModule: BaseModule, goals: api.Strict.Agg[Task[_]]): (MultiBiMap[Either[Task[Any], Labelled[Any]], Task[_]], api.Strict.Agg[Task[_]])
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. def writeTimings(timings: Seq[(Either[Task[_], Labelled[_]], Int, Boolean)], outPath: Path): Unit
  27. def writeTracings(tracings: Seq[TraceEvent], outPath: Path): Unit
  28. object Cached extends Serializable
  29. object Timing extends Serializable

Deprecated Value Members

  1. def evalOrElse[T](evaluator: Evaluator, e: Task[T], default: => T): T

    Evaluate the given task e.

    Evaluate the given task e. In case, the task has no successful result(s), return the default value instead.

    Note: This method has no sensible error management! Errors are just ignored! The following pattern will probably suite your use case better:

    evaluator.evaluate(Agg(task)) match {
      case r if r.failing.items().nonEmpty =>
        throw Exception(s"Failure during task evaluation: ${Evaluator.formatFailing(r)}")
      case r => r.values.asInstanceOf[Seq[YourResultType]]
    }
    Annotations
    @deprecated
    Deprecated

    (Since version mill after 0.10.0-M3) This method has no sensible error management and should be avoided. See it's scaladoc for an alternative pattern or use evalOrThrow instead.

  2. def makeSegmentStrings(segments: Segments): Seq[String]
    Annotations
    @deprecated
    Deprecated

    (Since version mill-0.10.0-M3) Use EvaluatorPaths.makeSegmentStrings instead

  3. def resolveDestPaths(workspacePath: Path, segments: Segments, foreignSegments: Option[Segments] = None): EvaluatorPaths
    Annotations
    @deprecated
    Deprecated

    (Since version mill-0.10.0-M3) Use EvaluatorPaths.resolveDestPaths instead

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped