History

sbt.State.History
final class History

Provides a list of recently executed commands. The commands are stored as processed instead of as entered by the user.

Value parameters

executed

the list of the most recently executed commands, with the most recent command first.

maxSize

the maximum number of commands to keep, or 0 to keep an unlimited number.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def ::(command: Exec): History

Adds command as the most recently executed command.

Adds command as the most recently executed command.

Attributes

def currentOption: Option[Exec]
def previous: Option[Exec]
def setMaxSize(size: Int): History

Changes the maximum number of commands kept, adjusting the current history if necessary.

Changes the maximum number of commands kept, adjusting the current history if necessary.

Attributes

Concrete fields

val executed: Seq[Exec]
val maxSize: Int