sbt

SessionSettings

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
Learn more about member selection
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.

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

  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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def Help: String

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def checkSession(newSession: SessionSettings, oldState: State): Unit

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

  9. def clearAllSettings(s: State): State

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

  10. 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

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def command(s: State): Parser[() ⇒ State]

    The raw implementation of the session command.

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def natSelect: Parser[Seq[(Int, Int)]]

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. lazy val parser: Parser[SessionCommand]

    Parser for the session command.

  24. 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.

  25. def printAllSettings(s: State): State

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

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

  26. def printSettings(settings: Seq[(Def.Setting[_], Seq[String])]): Unit

    Prints all the passed in session settings

  27. def printSettings(s: State): State

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

  28. def range: Parser[(Int, Int)]

  29. 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.

  30. lazy val remove: Parser[Remove]

  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( ... )
  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

Deprecated Value Members

  1. def needsTrailingBlank(lines: Seq[String]): Boolean

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.7) This method will no longer be publlic

  2. def removeRanges[T](in: Seq[T], ranges: Seq[(Int, Int)]): Seq[T]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.7) This method will no longer be public

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.7) This method will no longer be publlic

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped