Trait

sbt.internal.util

Init

Related Doc: package util

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. final class Compiled[T] extends AnyRef

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

    Permalink
  3. final class Flattened extends AnyRef

    Permalink
  4. sealed trait Initialize[T] extends AnyRef

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

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

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

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

    Permalink
  9. final class RuntimeUndefined extends RuntimeException

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

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

    Permalink
  12. type ScopedMap = IMap[ScopedKey, SettingSeq]

    Permalink
  13. sealed class Setting[T] extends SettingsDefinition

    Permalink
  14. final class SettingList extends SettingsDefinition

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

    Permalink
  16. sealed trait SettingsDefinition extends AnyRef

    Permalink
  17. final class Undefined extends AnyRef

    Permalink
  18. final class Uninitialized extends Exception

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

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

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

    Permalink

Abstract Value Members

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

    Permalink

    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: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object DefaultSetting

    Permalink
  5. object Initialize

    Permalink
  6. object SettingsDefinition

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

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

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

    Permalink
  10. def addLocal(init: Seq[Setting[_]])(implicit scopeLocal: ScopeLocal): Seq[Setting[_]]

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

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

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

    Permalink
  14. final def asInstanceOf[T0]: T0

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

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

    Permalink
  17. lazy val capturedTransformations: Initialize[~>[Initialize, Initialize]]

    Permalink

    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.

  18. def clone(): AnyRef

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

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

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

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

    Permalink
  23. 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]

    Permalink

    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.

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

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

    Permalink
  26. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
  30. final def getClass(): Class[_]

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

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

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

    Permalink
  34. def hashCode(): Int

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

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

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

    Permalink
  38. def mapScope(f: (Scope) ⇒ Scope): MapScoped

    Permalink
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  49. def toString(): String

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

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

    Permalink
  52. def value[T](value: ⇒ T): Initialize[T]

    Permalink
  53. def valueStrict[T](value: T): Initialize[T]

    Permalink
  54. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

    Permalink
    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]

    Permalink
    Annotations
    @deprecated
    Deprecated

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

Inherited from AnyRef

Inherited from Any

Ungrouped