Packages

trait ExecuteProgress2 extends ExecuteProgress[Task]

Tracks command execution progress. In addition to ExecuteProgress, this interface adds command start and end events, and gives access to the sbt.State at the beginning and end of each command.

Command progress callbacks are wrapping task progress callbacks. That is, the beforeCommand callback will be called before the initial callback from ExecuteProgress, and the afterCommand callback will be called after the stop callback from ExecuteProgress.

Linear Supertypes
ExecuteProgress[Task], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExecuteProgress2
  2. ExecuteProgress
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def afterAllCompleted(results: RMap[Task, Result]): Unit

    All tasks have completed with the final results provided.

    All tasks have completed with the final results provided.

    Definition Classes
    ExecuteProgress
  2. abstract def afterCommand(cmd: String, result: Either[Throwable, State]): Unit

    Called after a command finished execution.

    Called after a command finished execution.

    cmd

    The command string.

    result

    Left in case of an error. If the command cannot be parsed, it will be signalled as a ParseException with a detailed message. If the command was cancelled by the user, as sbt.Cancelled. If the command succeeded, Right with the new state after command execution.

  3. abstract def afterCompleted[A](task: Task[A], result: Result[A]): Unit

    Notifies that task has completed.

    Notifies that task has completed. The task's work is done with a final result. Any tasks called by task have completed.

    Definition Classes
    ExecuteProgress
  4. abstract def afterReady(task: Task[_]): Unit

    Notifies that all of the dependencies of task have completed and task is therefore ready to run.

    Notifies that all of the dependencies of task have completed and task is therefore ready to run. The task has not been scheduled on a thread yet.

    Definition Classes
    ExecuteProgress
  5. abstract def afterRegistered(task: Task[_], allDeps: Iterable[Task[_]], pendingDeps: Iterable[Task[_]]): Unit

    Notifies that a task has been registered in the system for execution.

    Notifies that a task has been registered in the system for execution. The dependencies of task are allDeps and the subset of those dependencies that have not completed are pendingDeps.

    Definition Classes
    ExecuteProgress
  6. abstract def afterWork[A](task: Task[A], result: Either[Task[A], Result[A]]): Unit

    Notifies that the work for task work has finished.

    Notifies that the work for task work has finished. The task may have computed the next task to run, in which case result contains that next task wrapped in Left. If the task produced a value or terminated abnormally, result provides that outcome wrapped in Right. The ultimate result of a task is provided to the completed method. This is called from the thread the task executes on, unlike most other methods in this callback. It is immediately called after the task's work is complete with minimal intervening executor overhead.

    Definition Classes
    ExecuteProgress
  7. abstract def beforeCommand(cmd: String, state: State): Unit

    Called before a command starts processing.

    Called before a command starts processing. The command has not yet been parsed.

    cmd

    The command string

    state

    The sbt.State before the command starts executing.

  8. abstract def beforeWork(task: Task[_]): Unit

    Notifies that the work for task is starting after this call returns.

    Notifies that the work for task is starting after this call returns. This is called from the thread the task executes on, unlike most other methods in this callback. It is called immediately before the task's work starts with minimal intervening executor overhead.

    Definition Classes
    ExecuteProgress
  9. abstract def initial(): Unit
    Definition Classes
    ExecuteProgress
  10. abstract def stop(): Unit

    Notifies that either all tasks have finished or cancelled.

    Notifies that either all tasks have finished or cancelled.

    Definition Classes
    ExecuteProgress

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  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[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
    @throws( ... ) @native()

Inherited from ExecuteProgress[Task]

Inherited from AnyRef

Inherited from Any

Ungrouped