final case class ResultsCache extends Product with Serializable
Maps projects to compilation results, populated by Tasks.compile
.
The results cache has two important goals:
- Keep track of the last compilation results, no matter what results those were.
2. Keep track of the last successful incremental results per project, so that they
can be used by
compile
to locate the last good analysis file.
This data structure is not thread-safe and should not be used like so.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ResultsCache
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addFinalResults(ps: List[FinalCompileResult]): ResultsCache
- def addResult(project: Project, results: ResultBundle): ResultsCache
- val all: Map[Project, Result]
- def allAnalysis: Seq[Analysis]
- def allResults: Iterator[(Project, Result)]
- def allSuccessful: Iterator[(Project, LastSuccessfulResult)]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cleanSuccessful(projects: Set[Project], client: ClientInfo, logger: Logger): Task[ResultsCache]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def diffLatest(cache: ResultsCache): List[(Project, Result)]
Diff the latest changed projects between
cache
andthis
. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastSuccessfulResultOrEmpty(project: Project): LastSuccessfulResult
Returns the last successful result if present, empty otherwise.
- def latestResult(project: Project): Result
Returns the latest compilation result if present, empty otherwise.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def replacePreviousResults(ps: Map[Project, Result]): ResultsCache
- val successful: Map[Project, LastSuccessfulResult]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ResultsCache → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated