sbt.internal.util

Init

trait Init[Scope] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Init
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final class Compiled[T] extends AnyRef

  2. type CompiledMap = Map[ScopedKey[_], Compiled[_]]

  3. final class Flattened extends AnyRef

  4. sealed trait Initialize[T] extends AnyRef

  5. sealed trait Keyed[S, T] extends Initialize[T]

  6. trait KeyedInitialize[T] extends Keyed[T, T]

  7. type MapConstant = ~>[ScopedKey, Option]

  8. type MapScoped = ~>[ScopedKey, ScopedKey]

  9. final class RuntimeUndefined extends RuntimeException

  10. type ScopeLocal = (ScopedKey[_]) ⇒ Seq[Setting[_]]

  11. sealed case class ScopedKey[T](scope: Scope, key: AttributeKey[T]) extends KeyedInitialize[T] with Product with Serializable

  12. type ScopedMap = IMap[ScopedKey, SettingSeq]

  13. sealed class Setting[T] extends SettingsDefinition

  14. final class SettingList extends SettingsDefinition

  15. type SettingSeq[T] = Seq[Setting[T]]

  16. sealed trait SettingsDefinition extends AnyRef

  17. final class Undefined extends AnyRef

  18. final class Uninitialized extends Exception

  19. type ValidateRef = ~>[ScopedKey, ValidatedRef]

  20. type ValidatedInit[T] = Either[Seq[Undefined], Initialize[T]]

  21. type ValidatedRef[T] = Either[Undefined, ScopedKey[T]]

Abstract Value Members

  1. abstract def showFullKey: Show[ScopedKey[_]]

    The Show instance used when a detailed String needs to be generated.

    The Show instance used when a detailed String needs to be generated. It is typically used when no context is available.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object DefaultSetting

  7. object Initialize

  8. object SettingsDefinition

  9. def Undefined(defining: Setting[_], referencedKey: ScopedKey[_]): Undefined

  10. def Uninitialized(validKeys: Seq[ScopedKey[_]], delegates: (Scope) ⇒ Seq[Scope], keys: Seq[Undefined], runtime: Boolean)(implicit display: Show[ScopedKey[_]]): Uninitialized

  11. def add[T](m: ScopedMap, s: Setting[T]): ScopedMap

  12. def addLocal(init: Seq[Setting[_]])(implicit scopeLocal: (ScopedKey[_]) ⇒ Seq[Setting[_]]): Seq[Setting[_]]

  13. def app[K[L[x]], T](inputs: K[Initialize])(f: (K[Types.Id]) ⇒ T)(implicit alist: AList[K]): Initialize[T]

  14. def append[T](ss: Seq[Setting[T]], s: Setting[T]): Seq[Setting[T]]

  15. def asFunction[T](s: Settings[Scope]): (ScopedKey[T]) ⇒ T

  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. def asTransform(s: Settings[Scope]): ~>[ScopedKey, Types.Id]

  18. def bind[S, T](in: Initialize[S])(f: (S) ⇒ Initialize[T]): Initialize[T]

  19. lazy val capturedTransformations: Initialize[~>[Initialize, Initialize]]

    The result of this initialization is the composition of applied transformations.

    The result of this initialization is the composition of applied transformations. This can be useful when dealing with dynamic Initialize values.

  20. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def compile(sMap: ScopedMap): CompiledMap

  22. def compiled(init: Seq[Setting[_]], actual: Boolean = true)(implicit delegates: (Scope) ⇒ Seq[Scope], scopeLocal: (ScopedKey[_]) ⇒ Seq[Setting[_]], display: Show[ScopedKey[_]]): CompiledMap

  23. def definedAtString(settings: Seq[Setting[_]]): String

  24. def delegate(sMap: ScopedMap)(implicit delegates: (Scope) ⇒ Seq[Scope], display: Show[ScopedKey[_]]): ScopedMap

  25. final def derive[T](s: Setting[T], allowDynamic: Boolean = false, filter: (Scope) ⇒ Boolean = const(true), trigger: (AttributeKey[_]) ⇒ Boolean = const(true), default: Boolean = false): Setting[T]

    Constructs a derived setting that will be automatically defined in every scope where one of its dependencies is explicitly defined and the where the scope matches filter.

    Constructs a derived setting that will be automatically defined in every scope where one of its dependencies is explicitly defined and the where the scope matches filter. A setting initialized with dynamic dependencies is only allowed if allowDynamic is true. Only the static dependencies are tracked, however. Dependencies on previous values do not introduce a derived setting either.

  26. def deriveAllowed[T](s: Setting[T], allowDynamic: Boolean): Option[String]

  27. def empty(implicit delegates: (Scope) ⇒ Seq[Scope]): Settings[Scope]

  28. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  30. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def flattenLocals(compiled: CompiledMap): Map[ScopedKey[_], Flattened]

  32. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  33. def getValue[T](s: Settings[Scope], k: ScopedKey[T]): T

  34. def grouped(init: Seq[Setting[_]]): ScopedMap

  35. def guessIntendedScope(validKeys: Seq[ScopedKey[_]], delegates: (Scope) ⇒ Seq[Scope], key: ScopedKey[_]): Option[ScopedKey[_]]

  36. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  37. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  38. def make(init: Seq[Setting[_]])(implicit delegates: (Scope) ⇒ Seq[Scope], scopeLocal: (ScopedKey[_]) ⇒ Seq[Setting[_]], display: Show[ScopedKey[_]]): Settings[Scope]

  39. def map[S, T](in: Initialize[S])(f: (S) ⇒ T): Initialize[T]

  40. def mapScope(f: (Scope) ⇒ Scope): MapScoped

  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  44. def optional[T, U](i: Initialize[T])(f: (Option[T]) ⇒ U): Initialize[U]

  45. def pure[T](value: () ⇒ T): Initialize[T]

  46. def refinedDistance(delegates: (Scope) ⇒ Seq[Scope], a: ScopedKey[_], b: ScopedKey[_]): Option[Int]

  47. def setting[T](key: ScopedKey[T], init: Initialize[T], pos: SourcePosition = NoPosition): Setting[T]

  48. def showUndefined(u: Undefined, validKeys: Seq[ScopedKey[_]], delegates: (Scope) ⇒ Seq[Scope])(implicit display: Show[ScopedKey[_]]): String

  49. def sort(cMap: CompiledMap): Seq[Compiled[_]]

  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def toString(): String

    Definition Classes
    AnyRef → Any
  52. def uniform[S, T](inputs: Seq[Initialize[S]])(f: (Seq[S]) ⇒ T): Initialize[T]

  53. def update[T](key: ScopedKey[T])(f: (T) ⇒ T): Setting[T]

  54. def value[T](value: ⇒ T): Initialize[T]

  55. def valueStrict[T](value: T): Initialize[T]

  56. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def Undefined(definingKey: ScopedKey[_], referencedKey: ScopedKey[_], derived: Boolean): Undefined

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.1) Use the other overload.

  2. final def derive[T](s: Setting[T], allowDynamic: Boolean, filter: (Scope) ⇒ Boolean, trigger: (AttributeKey[_]) ⇒ Boolean): Setting[T]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.7) Use the version with default arguments and default parameter.

Inherited from AnyRef

Inherited from Any

Ungrouped