Packages

final class ResultsCache extends AnyRef

Maps projects to compilation results, populated by Tasks.compile.

The results cache has two important goals:

  1. 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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResultsCache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def addFinalResults(ps: List[FinalCompileResult]): ResultsCache
  5. def addResult(project: Project, result: Result): ResultsCache
  6. def addResults(ps: List[(Project, Result)]): ResultsCache
  7. def allResults: Iterator[(Project, Result)]
  8. def allSuccessful: Iterator[(Project, PreviousResult)]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def cleanSuccessful(projects: List[Project]): ResultsCache
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. def diffLatest(cache: ResultsCache): List[(Project, Result)]

    Diff the latest changed projects between cache and this.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def lastSuccessfulResultOrEmpty(project: Project): PreviousResult

    Returns the last succesful result if present, empty otherwise.

  20. def latestResult(project: Project): Result

    Returns the latest compilation result if present, empty otherwise.

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    ResultsCache → AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped