final class ResultsCache extends AnyRef
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
- 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, result: Result): ResultsCache
- def addResults(ps: List[(Project, Result)]): ResultsCache
- def allResults: Iterator[(Project, Result)]
- def allSuccessful: Iterator[(Project, PreviousResult)]
-
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
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lastSuccessfulResultOrEmpty(project: Project): PreviousResult
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()
-
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( ... )