sbt
package sbt
- Alphabetic
- Public
- All
Type Members
- final case class ApplicationID(groupID: String, name: String, version: String, mainClass: String, components: Seq[String], crossVersionedValue: CrossValue, extra: Seq[File]) extends xsbti.ApplicationID with Product with Serializable
-
sealed
trait
Command extends AnyRef
An operation that can be executed from the sbt console.
An operation that can be executed from the sbt console.
The operation takes a State as a parameter and returns a State. This means that a command can look at or modify other sbt settings, for example. Typically you would resort to a command when you need to do something that's impossible in a regular task.
- trait CommandDefinitions extends (State) ⇒ State
- final class CommandSource extends Serializable
- sealed abstract class ConnectionType extends Serializable
- final class Exec extends Serializable
- final case class Exit(code: Int) extends xsbti.Exit with Product with Serializable
- trait Help extends AnyRef
- trait Identity extends AnyRef
- final case class Reboot(scalaVersion: String, argsList: Seq[String], app: xsbti.ApplicationID, baseDirectory: File) extends xsbti.Reboot with Product with Serializable
- sealed abstract class ServerAuthentication extends Serializable
-
final
case class
State(configuration: AppConfiguration, definedCommands: Seq[Command], exitHooks: Set[ExitHook], onFailure: Option[Exec], remainingCommands: List[Exec], history: History, attributes: AttributeMap, globalLogging: GlobalLogging, currentCommand: Option[Exec], next: Next) extends Identity with Product with Serializable
Data structure representing all command execution information.
Data structure representing all command execution information.
- configuration
provides access to the launcher environment, including the application configuration, Scala versions, jvm/filesystem wide locking, and the launcher itself
- definedCommands
the list of command definitions that evaluate command strings. These may be modified to change the available commands.
- exitHooks
code to run before sbt exits, usually to ensure resources are cleaned up.
- onFailure
the command to execute when another command fails.
onFailure
is cleared before the failure handling command is executed.- remainingCommands
the sequence of commands to execute. This sequence may be modified to change the commands to be executed. Typically, the
::
and:::
methods are used to prepend new commands to run.- history
tracks the recently executed commands
- attributes
custom command state. It is important to clean up attributes when no longer needed to avoid memory leaks and class loader leaks.
- next
the next action for the command processor to take. This may be to continue with the next command, adjust global logging, or exit.
-
trait
StateOps extends Any
Convenience methods for State transformations and operations.
- case class TemplateResolverInfo(module: ModuleID, implementationClass: String) extends Product with Serializable
-
trait
Watched extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.0) Watched is no longer used to implement continuous execution
Value Members
- object ApplicationID extends Serializable
- object BasicCommandStrings
- object BasicCommands
- object BasicKeys
- object Command
- object CommandSource extends Serializable
- object CommandUtil
- object ConnectionType extends Serializable
- object Exec extends Serializable
- object Help
- object Highlight
- object ServerAuthentication extends Serializable
- object State extends Serializable
- object Watched