implicit final class UpperStateOpsImpl extends AnyVal with UpperStateOps
- Alphabetic
- By Inheritance
- UpperStateOpsImpl
- UpperStateOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
appendWithSession(settings: Seq[Def.Setting[_]]): State
Appends the given settings to all the build state settings, including session settings.
Appends the given settings to all the build state settings, including session settings.
- Definition Classes
- UpperStateOpsImpl → UpperStateOps
-
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.
Appends the given settings to the original build state settings, discarding any settings appended to the session in the process.
- Definition Classes
- UpperStateOpsImpl → UpperStateOps
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
currentProject: ResolvedProject
Current project of the state session that can be change using
project
command.Current project of the state session that can be change using
project
command.- Definition Classes
- UpperStateOpsImpl → UpperStateOps
-
def
currentRef: ProjectRef
ProjectRef to the current project of the state session that can be change using
project
command.ProjectRef to the current project of the state session that can be change using
project
command.- Definition Classes
- UpperStateOpsImpl → UpperStateOps
- def extract: Extracted
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
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.- Definition Classes
- UpperStateOpsImpl → UpperStateOps
-
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.- Definition Classes
- UpperStateOpsImpl → UpperStateOps
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
notifyEvent[A](method: String, params: A)(implicit arg0: JsonFormat[A]): Unit
- Definition Classes
- UpperStateOpsImpl → UpperStateOps
-
def
respondError(code: Long, message: String): Unit
- Definition Classes
- UpperStateOpsImpl → UpperStateOps
-
def
respondEvent[A](event: A)(implicit arg0: JsonFormat[A]): Unit
- Definition Classes
- UpperStateOpsImpl → UpperStateOps
- val s: State
-
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.- Definition Classes
- UpperStateOpsImpl → UpperStateOps
-
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.- Definition Classes
- UpperStateOpsImpl → UpperStateOps
-
def
toString(): String
- Definition Classes
- Any
-
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.
- Definition Classes
- UpperStateOpsImpl → UpperStateOps
-
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.
- Definition Classes
- UpperStateOpsImpl → UpperStateOps
-
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.
- Definition Classes
- UpperStateOpsImpl → UpperStateOps