object Watched

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

Type Members

  1. sealed trait Action extends AnyRef

    This trait is used to communicate what the watch should do next at various points in time.

    This trait is used to communicate what the watch should do next at various points in time. It is heavily linked to a number of callbacks in WatchConfig. For example, when the event monitor detects a changed source we expect WatchConfig.onWatchEvent to return Trigger.

  2. trait Custom extends Action

    A user defined Action.

    A user defined Action. It is not sealed so that the user can create custom instances. If any of the WatchConfig callbacks, e.g. WatchConfig.onWatchEvent, return an instance of Custom, the watch will terminate.

  3. type WatchSource = Source

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. val AntiEntropy: FiniteDuration
  5. val Configuration: AttributeKey[Watched]
  6. val PollDelay: FiniteDuration
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val clearOnTrigger: (Int) ⇒ Option[String]
  9. def clearScreen: String
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. def continuous(setup: WatchSetup): Command

    Provides the '~' continuous execution command.

    Provides the '~' continuous execution command.

    setup

    a function that provides a logger and a function from (() => State) => State.

    returns

    the '~' command.

  12. def createWatchService(): WatchService
  13. def createWatchService(pollDelay: FiniteDuration): WatchService
  14. val defaultOnTriggerMessage: (Int) ⇒ Option[String]
  15. val defaultStartWatch: (Int) ⇒ Option[String]
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def isEnter(key: Int): Boolean
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isR(key: Int): Boolean
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def printIfDefined(msg: String): Unit
  28. def projectOnWatchMessage(project: String): (Int) ⇒ Option[String]
  29. def projectWatchingMessage(projectId: String): (WatchState) ⇒ String
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def terminateWatch(key: Int): Boolean
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  36. object CancelWatch extends Action with Product with Serializable

    Action that indicates that the watch should stop.

  37. object HandleError extends Action with Product with Serializable

    Action that indicates that an error has occurred.

    Action that indicates that an error has occurred. The watch will be terminated when this action is produced.

  38. object Ignore extends Action with Product with Serializable

    Action that indicates that the watch should continue as though nothing happened.

    Action that indicates that the watch should continue as though nothing happened. This may be because, for example, no user input was yet available in WatchConfig.handleInput.

  39. object Reload extends Action with Product with Serializable

    Action that indicates that the watch should pause while the build is reloaded.

    Action that indicates that the watch should pause while the build is reloaded. This is used to automatically reload the project when the build files (e.g. build.sbt) are changed.

  40. object Trigger extends Action with Product with Serializable

    Action that indicates that the watch process should re-run the command.

  41. object WatchSource

Deprecated Value Members

  1. val ContinuousEventMonitor: AttributeKey[EventMonitor]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) ContinuousEventMonitor attribute is not used by Watched.command

  2. val ContinuousState: AttributeKey[WatchState]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.5) Superseded by ContinuousEventMonitor

  3. val ContinuousWatchService: AttributeKey[WatchService]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.5) Superseded by ContinuousEventMonitor

  4. val clearWhenTriggered: (WatchState) ⇒ String
    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) Use clearOnTrigger in conjunction with the watchTriggeredMessage key

  5. val defaultTriggeredMessage: (WatchState) ⇒ String
    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) Use defaultOnTriggerMessage in conjunction with the watchTriggeredMessage key

  6. val defaultWatchingMessage: (WatchState) ⇒ String
    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) Use defaultStartWatch in conjunction with the watchStartMessage key

  7. def empty: Watched
    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) This method is not used and may be removed in a future version of sbt

  8. def executeContinuously(watched: Watched, s: State, next: String, repeat: String): State
    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) Replaced by Watched.command

  9. def multi(base: Watched, paths: Seq[Watched]): Watched
    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) This method is not used and may be removed in a future version of sbt

Inherited from AnyRef

Inherited from Any

Ungrouped