Packages

trait UpperStateOps extends Any

Extends State with setting-level knowledge.

Linear Supertypes
Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpperStateOps
  2. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def appendWithSession(settings: Seq[Def.Setting[_]]): State

    Appends the given settings to all the build state settings, including session settings.

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

  3. abstract def currentProject: ResolvedProject

    Current project of the state session that can be change using project command.

  4. abstract def currentRef: ProjectRef

    ProjectRef to the current project of the state session that can be change using project command.

  5. abstract def getClass(): Class[_]
    Definition Classes
    Any
  6. 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 extracted session. Other axes are resolved to be Zero if they are not specified.

  7. 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 extracted session. Other axes are resolved to be Zero if they are not specified.

  8. abstract def notifyEvent[A](method: String, params: A)(implicit arg0: JsonFormat[A]): Unit
  9. abstract def respondError(code: Long, message: String): Unit
  10. abstract def respondEvent[A](event: A)(implicit arg0: JsonFormat[A]): Unit
  11. 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 extracted session. Other axes are resolved to be Zero if they are not specified.

  12. 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 extracted session. Other axes are resolved to be Zero if they are not specified.

  13. 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 to Zero if unspecified.

    To avoid race conditions, this should NOT be called from a task.

  14. abstract def unsafeRunInputTask[A](key: InputKey[A], input: String): (State, A)

    Runs the input task specified by key, using the input 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 the input 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.

  15. 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 to Zero 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  6. def hashCode(): Int
    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. def toString(): String
    Definition Classes
    Any

Inherited from Any

Ungrouped