Packages

object SessionSettings extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SessionSettings
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class Clear extends SessionCommand
  2. final class Print extends SessionCommand
  3. final class Remove extends SessionCommand
  4. final class Save extends SessionCommand
  5. type SbtConfigFile = (File, Seq[String])
  6. sealed trait SessionCommand extends AnyRef

    AST for the syntax of the session command.

    AST for the syntax of the session command. Each subclass is an action that can be performed.

  7. type SessionMap = Map[ProjectRef, Seq[SessionSetting]]
  8. type SessionSetting = (Def.Setting[_], Seq[String])

    A session setting is simply a tuple of a Setting[_] and the strings which define it.

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. def Help: String
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def checkSession(newSession: SessionSettings, oldState: State): Unit

    Checks to see if any session settings are being discarded and issues a warning.

  7. def clearAllSettings(s: State): State

    This will clear ALL transient session settings in a given build state, returning the new build state.

  8. def clearSettings(s: State): State

    This will clear any user-added session settings for a given build state and return the new build state.

    This will clear any user-added session settings for a given build state and return the new build state.

    Note: Does not clear rawAppend settings

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def command(s: State): Parser[() ⇒ State]

    The raw implementation of the session command.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def natSelect: Parser[Seq[(Int, Int)]]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def needsTrailingBlank(lines: Seq[String]): Boolean
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. lazy val parser: Parser[SessionCommand]

    Parser for the session command.

  23. def pluralize(size: Int, of: String): String

    Adds s to a strings when needed.

    Adds s to a strings when needed. Maybe one day we'll care about non-english languages.

  24. def printAllSettings(s: State): State

    Prints all the user-defined SessionSettings (not raw) to System.out.

  25. def printSettings(settings: Seq[SessionSetting]): Unit

    Prints all the passed in session settings

  26. def printSettings(s: State): State

    Prints all the defined session settings for the current project in the given build state.

  27. def range: Parser[(Int, Int)]
  28. def reapply(session: SessionSettings, s: State): State

    This will re-evaluate all Setting[_]'s on this session against the current build state and return the new build state.

  29. lazy val remove: Parser[Remove]
  30. def removeRanges[T](in: Seq[T], ranges: Seq[(Int, Int)]): Seq[T]
  31. def removeSettings(s: State, ranges: Seq[(Int, Int)]): State

    Removes settings from the current session, by range.

    Removes settings from the current session, by range.

    s

    The current build state.

    ranges

    A set of Low->High tuples for which settings to remove.

    returns

    The new build state with settings removed.

  32. def saveAllSettings(s: State): State

    Saves *all* session settings to disk for all projects.

  33. def saveSettings(s: State): State

    Saves the session settings to disk for the current project.

  34. def saveSomeSettings(s: State)(include: (ProjectRef) ⇒ Boolean): State

    Saves session settings to disk if they match the filter.

    Saves session settings to disk if they match the filter.

    s

    The build state

    include

    A filter function to determine which project's settings to persist.

    returns

    The new build state.

  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  40. def withSettings(s: State)(f: (SessionSettings) ⇒ State): State

    A convenience method to alter the current build state using the current SessionSettings.

    A convenience method to alter the current build state using the current SessionSettings.

    s

    The current build state

    f

    A function which takes the current SessionSettings and returns the new build state.

    returns

    The new build state

  41. def writeSettings(pref: ProjectRef, settings: List[SessionSetting], original: Seq[Def.Setting[_]], structure: BuildStructure): (Seq[SessionSetting], Seq[Def.Setting[_]])

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped