Object/Trait

sbt.util

Tracked

Related Docs: trait Tracked | package util

Permalink

object Tracked

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tracked
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def diffInputs(cacheFile: File, style: Style): Difference

    Permalink

    Creates a tracker that provides the difference between a set of input files for successive invocations.

  7. def diffInputs(store: CacheStore, style: Style): Difference

    Permalink

    Creates a tracker that provides the difference between a set of input files for successive invocations.

  8. def diffOutputs(cacheFile: File, style: Style): Difference

    Permalink

    Creates a tracker that provides the difference between a set of output files for successive invocations.

  9. def diffOutputs(store: CacheStore, style: Style): Difference

    Permalink

    Creates a tracker that provides the difference between a set of output files for successive invocations.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def inputChanged[I, O](cacheFile: File)(f: (Boolean, I) ⇒ O)(implicit arg0: JsonFormat[I], arg1: SingletonCache[I]): (I) ⇒ O

    Permalink

    Creates a tracker that indicates whether the arguments given to f have changed since the most recent invocation.

    Creates a tracker that indicates whether the arguments given to f have changed since the most recent invocation.

    val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) =>
      Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
        if (inChanged || outChanged) {
          doSomething(label, sources, classpath, outputDirectory, options, log)
        }
      }
    }
    cachedDoc(inputs)(() => exists(outputDirectory.allPaths.get.toSet))
  16. def inputChanged[I, O](store: CacheStore)(f: (Boolean, I) ⇒ O)(implicit arg0: JsonFormat[I], arg1: SingletonCache[I]): (I) ⇒ O

    Permalink

    Creates a tracker that indicates whether the arguments given to f have changed since the most recent invocation.

    Creates a tracker that indicates whether the arguments given to f have changed since the most recent invocation.

    val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) =>
      Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
        if (inChanged || outChanged) {
          doSomething(label, sources, classpath, outputDirectory, options, log)
        }
      }
    }
    cachedDoc(inputs)(() => exists(outputDirectory.allPaths.get.toSet))
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def lastOutput[I, O](cacheFile: File)(f: (I, Option[O]) ⇒ O)(implicit arg0: JsonFormat[O]): (I) ⇒ O

    Permalink

    Creates a tracker that provides the output of the most recent invocation of the function

  19. def lastOutput[I, O](store: CacheStore)(f: (I, Option[O]) ⇒ O)(implicit arg0: JsonFormat[O]): (I) ⇒ O

    Permalink

    Creates a tracker that provides the output of the most recent invocation of the function

  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def outputChanged[A1, A2](cacheFile: File)(f: (Boolean, A1) ⇒ A2)(implicit arg0: JsonFormat[A1]): (() ⇒ A1) ⇒ A2

    Permalink

    Creates a tracker that indicates whether the output returned from p has changed or not.

    Creates a tracker that indicates whether the output returned from p has changed or not.

    val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) =>
      Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
        if (inChanged || outChanged) {
          doSomething(label, sources, classpath, outputDirectory, options, log)
        }
      }
    }
    cachedDoc(inputs)(() => exists(outputDirectory.allPaths.get.toSet))
  24. def outputChanged[A1, A2](store: CacheStore)(f: (Boolean, A1) ⇒ A2)(implicit arg0: JsonFormat[A1]): (() ⇒ A1) ⇒ A2

    Permalink

    Creates a tracker that indicates whether the output returned from p has changed or not.

    Creates a tracker that indicates whether the output returned from p has changed or not.

    val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) =>
      Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
        if (inChanged || outChanged) {
          doSomething(label, sources, classpath, outputDirectory, options, log)
        }
      }
    }
    cachedDoc(inputs)(() => exists(outputDirectory.allPaths.get.toSet))
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. def tstamp(cacheFile: File, useStartTime: Boolean): Timestamp

    Permalink

    Creates a tracker that provides the last time it was evaluated.

    Creates a tracker that provides the last time it was evaluated. If 'useStartTime' is true, the recorded time is the start of the evaluated function. If 'useStartTime' is false, the recorded time is when the evaluated function completes. In both cases, the timestamp is not updated if the function throws an exception.

  28. def tstamp(store: CacheStore, useStartTime: Boolean): Timestamp

    Permalink

    Creates a tracker that provides the last time it was evaluated.

    Creates a tracker that provides the last time it was evaluated. If 'useStartTime' is true, the recorded time is the start of the evaluated function. If 'useStartTime' is false, the recorded time is when the evaluated function completes. In both cases, the timestamp is not updated if the function throws an exception.

  29. def tstamp(cacheFile: File): Timestamp

    Permalink

    Creates a tracker that provides the last time it was evaluated.

    Creates a tracker that provides the last time it was evaluated. If the function throws an exception.

  30. def tstamp(store: CacheStore): Timestamp

    Permalink

    Creates a tracker that provides the last time it was evaluated.

    Creates a tracker that provides the last time it was evaluated. If the function throws an exception.

  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped