final case class SessionSettings(currentBuild: URI, currentProject: Map[URI, String], original: Seq[Def.Setting[_]], append: SessionMap, rawAppend: Seq[Def.Setting[_]], currentEval: () ⇒ Eval) extends Product with Serializable
Represents (potentially) transient settings added into a build via commands/user.
- currentBuild
The current sbt build with which we scope new settings
- currentProject
The current project with which we scope new settings.
- original
The original list of settings for this build.
- append
Settings which have been defined and appended that may ALSO be saved to disk.
- rawAppend
Settings which have been defined and appended which CANNOT be saved to disk
- currentEval
A compiler we can use to compile new setting strings.
- Alphabetic
- By Inheritance
- SessionSettings
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SessionSettings(currentBuild: URI, currentProject: Map[URI, String], original: Seq[Def.Setting[_]], append: SessionMap, rawAppend: Seq[Def.Setting[_]], currentEval: () ⇒ Eval)
- currentBuild
The current sbt build with which we scope new settings
- currentProject
The current project with which we scope new settings.
- original
The original list of settings for this build.
- append
Settings which have been defined and appended that may ALSO be saved to disk.
- rawAppend
Settings which have been defined and appended which CANNOT be saved to disk
- currentEval
A compiler we can use to compile new setting strings.
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
- val append: SessionMap
-
def
appendRaw(ss: Seq[Def.Setting[_]]): SessionSettings
Appends a set of raw Setting[_] objects to the current session.
Appends a set of raw Setting[_] objects to the current session.
- ss
The raw settings to include
- returns
A new SessionSettings with the appended settings.
-
def
appendSettings(s: Seq[SessionSetting]): SessionSettings
Appends a set of settings which can be persisted to disk
Appends a set of settings which can be persisted to disk
- s
A sequence of SessionSetting objects, which contain a Setting[_] and a string.
- returns
A new SessionSettings which contains this new sequence.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clearExtraSettings: SessionSettings
- returns
A new SessionSettings object where additional transient settings are removed.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
current: ProjectRef
- returns
The current ProjectRef with which we scope settings.
- val currentBuild: URI
- val currentEval: () ⇒ Eval
- val currentProject: Map[URI, String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mergeSettings: Seq[Def.Setting[_]]
- returns
A combined list of all Setting[_] objects for the current session, in priority order.
-
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()
- val original: Seq[Def.Setting[_]]
- val rawAppend: Seq[Def.Setting[_]]
-
def
setCurrent(build: URI, project: String, eval: () ⇒ Eval): SessionSettings
Modify the current state.
Modify the current state.
- build
The build with which we scope new settings.
- project
The project reference with which we scope new settings.
- eval
The mechanism to compile new settings.
- returns
A new SessionSettings object
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()