trait WatchConfig extends AnyRef

Provides a number of configuration options for continuous execution.

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

Abstract Value Members

  1. abstract def fileEventMonitor: FileEventMonitor[FileAttributes]

    The sbt.io.FileEventMonitor that is used to monitor the file system.

    The sbt.io.FileEventMonitor that is used to monitor the file system.

    returns

    an sbt.io.FileEventMonitor instance.

  2. abstract def handleInput(inputStream: InputStream): Action

    A function that is periodically invoked to determine whether the watch should stop or trigger.

    A function that is periodically invoked to determine whether the watch should stop or trigger. Usually this will read from System.in to react to user input.

    returns

    an Action that will determine the next step in the watch.

  3. abstract def logger: Logger

    A logger.

    A logger.

    returns

    a logger

  4. abstract def onWatchEvent(event: Event): Action

    Callback that is invoked whenever a file system vent is detected.

    Callback that is invoked whenever a file system vent is detected. The next step of the watch is determined by the Action returned by the callback.

    event

    the detected sbt.io.FileEventMonitor.Event.

    returns

    the next Action to run.

  5. abstract def onWatchTerminated(action: Action, command: String, state: State): State

    Transforms the state after the watch terminates.

    Transforms the state after the watch terminates.

    action

    the Action that caused the build to terminate

    command

    the command that the watch was repeating

    state

    the initial state prior to the start of continuous execution

    returns

    the updated state.

  6. abstract def preWatch(count: Int, lastStatus: Boolean): Action

    This is run before each watch iteration and if it returns true, the watch is terminated.

    This is run before each watch iteration and if it returns true, the watch is terminated.

    count

    The current number of watch iterations.

    lastStatus

    true if the previous task execution completed successfully

    returns

    the Action to apply

  7. abstract def triggeredMessage(path: Path, count: Int): Option[String]

    The optional message to log when a build is triggered.

    The optional message to log when a build is triggered.

    path

    the path that triggered the vuild

    count

    the current iteration

    returns

    an optional log message.

  8. abstract def watchingMessage(count: Int): Option[String]

    The optional message to log before each watch iteration.

    The optional message to log before each watch iteration.

    count

    the current iteration

    returns

    an optional log message.

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped