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.
- Alphabetic
- By Inheritance
- ExecuteProgress2
- ExecuteProgress
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
afterAllCompleted(results: RMap[Task, Result]): Unit
- Definition Classes
- ExecuteProgress
-
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.
-
abstract
def
afterCompleted[A](task: Task[A], result: Result[A]): Unit
- Definition Classes
- ExecuteProgress
-
abstract
def
afterReady(task: Task[_]): Unit
- Definition Classes
- ExecuteProgress
-
abstract
def
afterRegistered(task: Task[_], allDeps: Iterable[Task[_]], pendingDeps: Iterable[Task[_]]): Unit
- Definition Classes
- ExecuteProgress
-
abstract
def
afterWork[A](task: Task[A], result: Either[Task[A], Result[A]]): Unit
- Definition Classes
- ExecuteProgress
-
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.
-
abstract
def
beforeWork(task: Task[_]): Unit
- Definition Classes
- ExecuteProgress
-
abstract
def
initial(): Unit
- Definition Classes
- ExecuteProgress
-
abstract
def
stop(): Unit
- Definition Classes
- ExecuteProgress
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()