trait UpperStateOps extends Any
Extends State with setting-level knowledge.
- Alphabetic
- By Inheritance
- UpperStateOps
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
appendWithSession(settings: Seq[Def.Setting[_]]): State
Appends the given settings to all the build state settings, including session settings.
-
abstract
def
appendWithoutSession(settings: Seq[Def.Setting[_]], state: State): State
Appends the given settings to the original build state settings, discarding any settings appended to the session in the process.
-
abstract
def
currentProject: ResolvedProject
Current project of the state session that can be change using
project
command. -
abstract
def
currentRef: ProjectRef
ProjectRef to the current project of the state session that can be change using
project
command. -
abstract
def
getClass(): Class[_]
- Definition Classes
- Any
-
abstract
def
getSetting[A](key: SettingKey[A]): Option[A]
Gets the value assigned to
key
in the computed settings map.Gets the value assigned to
key
in the computed settings map. If the project axis is not explicitly specified, it is resolved to be the current project according to the extractedsession
. Other axes are resolved to beZero
if they are not specified. -
abstract
def
getTaskValue[A](key: TaskKey[A]): Option[Task[A]]
Gets the value assigned to
key
in the computed settings map.Gets the value assigned to
key
in the computed settings map. If the project axis is not explicitly specified, it is resolved to be the current project according to the extractedsession
. Other axes are resolved to beZero
if they are not specified. - abstract def notifyEvent[A](method: String, params: A)(implicit arg0: JsonFormat[A]): Unit
- abstract def respondError(code: Long, message: String): Unit
- abstract def respondEvent[A](event: A)(implicit arg0: JsonFormat[A]): Unit
-
abstract
def
setting[A](key: SettingKey[A]): A
Gets the value assigned to
key
in the computed settings map.Gets the value assigned to
key
in the computed settings map. If the project axis is not explicitly specified, it is resolved to be the current project according to the extractedsession
. Other axes are resolved to beZero
if they are not specified. -
abstract
def
taskValue[A](key: TaskKey[A]): Task[A]
Gets the value assigned to
key
in the computed settings map.Gets the value assigned to
key
in the computed settings map. If the project axis is not explicitly specified, it is resolved to be the current project according to the extractedsession
. Other axes are resolved to beZero
if they are not specified. -
abstract
def
unsafeRunAggregated[A](key: TaskKey[A]): State
Runs the tasks selected by aggregating
key
and returns the transformed State.Runs the tasks selected by aggregating
key
and returns the transformed State. If the project axis is not defined for the key, it is resolved to be the current project. The project axis is what determines where aggregation starts, so ensure this is set to what you want. Other axes are resolved toZero
if unspecified.To avoid race conditions, this should NOT be called from a task.
-
abstract
def
unsafeRunInputTask[A](key: InputKey[A], input: String): (State, A)
Runs the input task specified by
key
, using theinput
as the input to it, and returns the transformed State and the resulting value of the input task.Runs the input task specified by
key
, using theinput
as the input to it, and returns the transformed State and the resulting value of the input task.If the project axis is not defined for the key, it is resolved to be the current project. Other axes are resolved to
Zero
if unspecified.This method requests execution of only the given task and does not aggregate execution. To avoid race conditions, this should NOT be called from a task.
-
abstract
def
unsafeRunTask[A](key: TaskKey[A]): (State, A)
Runs the task specified by
key
and returns the transformed State and the resulting value of the task.Runs the task specified by
key
and returns the transformed State and the resulting value of the task. If the project axis is not defined for the key, it is resolved to be the current project. Other axes are resolved toZero
if unspecified.This method requests execution of only the given task and does not aggregate execution. See
runAggregated
for that.To avoid race conditions, this should NOT be called from a task.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
equals(arg0: Any): Boolean
- Definition Classes
- Any
-
def
hashCode(): Int
- Definition Classes
- Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- Any