Packages

object Scope extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Scope
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Global: Scope
  5. val GlobalScope: Scope
  6. val ThisScope: Scope
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def axisDelegates[T](direct: (ResolvedReference, T) ⇒ Seq[T], ref: ResolvedReference, init: T): (T, Seq[ScopeAxis[T]])
  9. def buildResolve(uri: URI): (Scope) ⇒ Scope
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. val customShowString: AttributeKey[String]

    Allows the user to override the result of Scope.display or Scope.displayMasked for a particular scope.

    Allows the user to override the result of Scope.display or Scope.displayMasked for a particular scope. This can be used to enhance super shell and/or error reporting for tasks that use mangled names. For example, one might have:

    val mangledKey = TaskKey[Unit]("foo_slash_bar")
    val attributeMap = AttributeMap.empty.put(Scope.customShowString("foo/bar"))
    val sanitizedKey = mangledKey.copy(scope = mangledKey.copy(extra = Select(attributeMap)))
    sanitizedKey := { ... }

    Now whenever the foo_slash_bar task specified by sanitizedKey is evaluated, it will display "foo/bar" in super shell progress and in the error message if an error is thrown.

  12. def delegates[Proj](refs: Seq[(ProjectRef, Proj)], configurations: (Proj) ⇒ Seq[ConfigKey], projectInherit: (ProjectRef) ⇒ Seq[ProjectRef], configInherit: (ResolvedReference, ConfigKey) ⇒ Seq[ConfigKey]): DelegateIndex
  13. def delegates[Proj](refs: Seq[(ProjectRef, Proj)], configurations: (Proj) ⇒ Seq[ConfigKey], resolve: (Reference) ⇒ ResolvedReference, rootProject: (URI) ⇒ String, projectInherit: (ProjectRef) ⇒ Seq[ProjectRef], configInherit: (ResolvedReference, ConfigKey) ⇒ Seq[ConfigKey], taskInherit: (AttributeKey[_]) ⇒ Seq[AttributeKey[_]]): (Scope) ⇒ Seq[Scope]
  14. def display(scope: Scope, sep: String, showProject: (Reference) ⇒ String): String
  15. def display(scope: Scope, sep: String): String
  16. def display(config: ConfigKey): String
  17. def displayConfigKey012Style(config: ConfigKey): String
  18. def displayMasked(scope: Scope, sep: String, showProject: (Reference) ⇒ String, mask: ScopeMask, showZeroConfig: Boolean): String

    unified slash style introduced in sbt 1.1.0.

    unified slash style introduced in sbt 1.1.0. By default, sbt will no longer display the Zero-config, so name will render as name as opposed to {uri}proj/Zero/name. Technically speaking an unspecified configuration axis defaults to the scope delegation (first configuration defining the key, then Zero).

  19. def displayMasked(scope: Scope, sep: String, showProject: (Reference) ⇒ String, mask: ScopeMask): String
  20. def displayMasked(scope: Scope, sep: String, mask: ScopeMask, showZeroConfig: Boolean): String
  21. def displayMasked(scope: Scope, sep: String, mask: ScopeMask): String
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equal(a: Scope, b: Scope, mask: ScopeMask): Boolean
  24. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  25. def fillTaskAxis(scope: Scope, key: AttributeKey[_]): Scope
  26. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def globalProjectDelegates(scope: Scope): Seq[Scope]
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def indexedDelegates(resolve: (Reference) ⇒ ResolvedReference, index: DelegateIndex, rootProject: (URI) ⇒ String, taskInherit: (AttributeKey[_]) ⇒ Seq[AttributeKey[_]])(rawScope: Scope): Seq[Scope]
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def linearize[T](axis: ScopeAxis[T], appendZero: Boolean = true)(inherit: (T) ⇒ Seq[T]): Seq[ScopeAxis[T]]
  33. def mapReference(f: (Reference) ⇒ Reference): (Scope) ⇒ Scope
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def projectPrefix(project: ScopeAxis[Reference], show: (Reference) ⇒ String = showProject): String
  38. def projectPrefix012Style(project: ScopeAxis[Reference], show: (Reference) ⇒ String = showProject): String
  39. def rawBuild(ps: ScopeAxis[ProjectRef]): Seq[ScopeAxis[BuildRef]]
  40. def replaceThis(thisScope: Scope): (Scope) ⇒ Scope
  41. def resolveBuild(current: URI, uri: URI): URI
  42. def resolveBuild(current: URI, ref: BuildReference): BuildReference
  43. def resolveBuildOnly(current: URI, ref: Reference): Reference
  44. def resolveBuildRef(current: URI, ref: BuildReference): BuildRef
  45. def resolveBuildScope(thisScope: Scope, current: URI): (Scope) ⇒ Scope
  46. def resolveProject(uri: URI, rootProject: (URI) ⇒ String): (Scope) ⇒ Scope
  47. def resolveProjectBuild(current: URI, ref: ProjectReference): ProjectReference
  48. def resolveProjectRef(current: URI, rootProject: (URI) ⇒ String, ref: ProjectReference): ProjectRef
  49. def resolveReference(current: URI, rootProject: (URI) ⇒ String, ref: Reference): ResolvedReference
  50. def resolveScope(thisScope: Scope, current: URI, rootProject: (URI) ⇒ String): (Scope) ⇒ Scope
  51. def showProject: (Reference) ⇒ String
  52. def showProject012Style: (Reference) ⇒ String
  53. def subThis[T](sub: ScopeAxis[T], into: ScopeAxis[T]): ScopeAxis[T]
  54. def subThisProject: (Scope) ⇒ Scope

    Select(ThisProject) cannot be resolved by resolveProject (it doesn't know what to replace it with), so we perform this transformation so that replaceThis picks it up.

  55. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  56. def toString(): String
    Definition Classes
    AnyRef → Any
  57. def topologicalSort[T](node: T, appendZero: Boolean)(dependencies: (T) ⇒ Seq[T]): Seq[ScopeAxis[T]]
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  61. def withGlobalScope(base: Scope): Seq[Scope]
  62. def withRawBuilds(ps: Seq[ScopeAxis[ProjectRef]]): Seq[ScopeAxis[ResolvedReference]]
  63. def withZeroAxis[T](base: ScopeAxis[T]): Seq[ScopeAxis[T]]

Deprecated Value Members

  1. def delegates[Proj](refs: Seq[(ProjectRef, Proj)], configurations: (Proj) ⇒ Seq[ConfigKey], resolve: (Reference) ⇒ ResolvedReference, rootProject: (URI) ⇒ String, projectInherit: (ProjectRef) ⇒ Seq[ProjectRef], configInherit: (ResolvedReference, ConfigKey) ⇒ Seq[ConfigKey], taskInherit: (AttributeKey[_]) ⇒ Seq[AttributeKey[_]], extraInherit: (ResolvedReference, AttributeMap) ⇒ Seq[AttributeMap]): (Scope) ⇒ Seq[Scope]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.1) Use variant without extraInherit

  2. def indexedDelegates(resolve: (Reference) ⇒ ResolvedReference, index: DelegateIndex, rootProject: (URI) ⇒ String, taskInherit: (AttributeKey[_]) ⇒ Seq[AttributeKey[_]], extraInherit: (ResolvedReference, AttributeMap) ⇒ Seq[AttributeMap])(rawScope: Scope): Seq[Scope]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.1) Use variant without extraInherit

  3. def transformTaskName(s: String): String
    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.3) No longer used

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped