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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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 allResults: Iterator[(Project, Result)]
- def allSuccessful: Iterator[(Project, LastSuccessfulResult)]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cleanSuccessful(projects: List[Project]): ResultsCache
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
diffLatest(cache: ResultsCache): List[(Project, Result)]
Diff the latest changed projects between
cache
andthis
. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lastSuccessfulResultOrEmpty(project: Project): LastSuccessfulResult
Returns the last succesful 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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )