sbt

InputKey

sealed trait InputKey[T] extends Scoped with sbt.Def.KeyedInitialize[InputTask[T]] with ScopingSetting[InputKey[T]] with DefinableSetting[InputTask[T]]

Identifies an input task. An input task parses input and produces a task to run. It consists of three parts: the scope, the name, and the type of the value produced by an input task associated with this key. The scope is represented by a value of type Scope. The name and the type are represented by a value of type AttributeKey[InputTask[T]]. Instances are constructed using the companion object.

Linear Supertypes
DefinableSetting[InputTask[T]], ScopingSetting[InputKey[T]], Def.KeyedInitialize[InputTask[T]], Def.Keyed[InputTask[T], InputTask[T]], Def.Initialize[InputTask[T]], Scoped, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. InputKey
  2. DefinableSetting
  3. ScopingSetting
  4. KeyedInitialize
  5. Keyed
  6. Initialize
  7. Scoped
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val key: AttributeKey[InputTask[T]]

    Definition Classes
    InputKeyScoped
  2. abstract def scope: Scope

    Definition Classes
    Scoped

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 :=(v: T): Def.Setting[InputTask[T]]

    Annotations
    @macroImpl( ... )
  5. final def <<=(app: Def.Initialize[InputTask[T]]): Def.Setting[InputTask[T]]

    Binds a single value to this.

    Binds a single value to this. A new [Def.Setting] is defined using the value(s) of app.

    app

    value to bind to this key

    returns

    setting binding this key to the given value.

    Definition Classes
    DefinableSetting
    Annotations
    @macroImpl( ... )
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. final def ?: Def.Initialize[Option[InputTask[T]]]

    Creates an Def.Initialize with value scala.None if there was no previous definition of this key, and scala.Some(value) if a definition exists.

    Creates an Def.Initialize with value scala.None if there was no previous definition of this key, and scala.Some(value) if a definition exists. Useful for when you want to use the existence of one setting in order to define another setting.

    returns

    currently bound value wrapped in Initialize[Some[T]], or Initialize[None] if unbound.

    Definition Classes
    DefinableSetting
  9. final def ??[T >: InputTask[T]](or: ⇒ T): Def.Initialize[T]

    Like ?, but with a call-by-name parameter rather than an existing Def.Initialize.

    Like ?, but with a call-by-name parameter rather than an existing Def.Initialize. Useful when you want to have a value computed when no value is bound to this key.

    or

    by-name expression evaluated when a value is needed.

    returns

    currently bound setting value, or the result of or if unbound.

    Definition Classes
    DefinableSetting
  10. final def apply[Z](g: (InputTask[T]) ⇒ Z): Def.Initialize[Z]

    Definition Classes
    KeyedInitialize
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def dependencies: List[Def.ScopedKey[InputTask[T]]]

    Definition Classes
    KeyedInitialize
  14. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  16. final def evaluate(ss: Settings[Scope]): InputTask[T]

    Definition Classes
    KeyedInitialize
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def get(settings: Settings[Scope]): Option[InputTask[T]]

    From the given Settings, extract the value bound to this key.

    From the given Settings, extract the value bound to this key.

    Definition Classes
    DefinableSetting
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. def in(scope: Scope): InputKey[T]

    Definition Classes
    InputKeyScopingSetting
  22. def in(p: ScopeAxis[Reference], c: ScopeAxis[ConfigKey], t: ScopeAxis[AttributeKey[_]]): InputKey[T]

    Definition Classes
    ScopingSetting
  23. def in(p: Reference, c: ConfigKey, t: Scoped): InputKey[T]

    Definition Classes
    ScopingSetting
  24. def in(p: Reference, t: Scoped): InputKey[T]

    Definition Classes
    ScopingSetting
  25. def in(p: Reference, c: ConfigKey): InputKey[T]

    Definition Classes
    ScopingSetting
  26. def in(c: ConfigKey, t: Scoped): InputKey[T]

    Definition Classes
    ScopingSetting
  27. def in(c: ConfigKey): InputKey[T]

    Definition Classes
    ScopingSetting
  28. def in(t: Scoped): InputKey[T]

    Definition Classes
    ScopingSetting
  29. def in(p: Reference): InputKey[T]

    Definition Classes
    ScopingSetting
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. final def mapConstant(g: Def.MapConstant): Def.Initialize[InputTask[T]]

    Definition Classes
    KeyedInitialize
  32. final def mapReferenced(g: Def.MapScoped): Def.Initialize[InputTask[T]]

    Definition Classes
    KeyedInitialize
  33. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  36. final def or[T >: InputTask[T]](i: Def.Initialize[T]): Def.Initialize[T]

    Creates an Def.Initialize with value bound to this key, or returns i parameter if unbound.

    Creates an Def.Initialize with value bound to this key, or returns i parameter if unbound.

    i

    value to return if this setting doesn't have a value.

    returns

    currently bound setting value, or i if unbound.

    Definition Classes
    DefinableSetting
  37. def scopedKey: Def.ScopedKey[InputTask[T]]

    Definition Classes
    InputKeyDefinableSettingKeyed
  38. final def set(app: Def.Initialize[InputTask[T]], source: SourcePosition): Def.Setting[InputTask[T]]

    Internally used function for setting a value along with the .sbt file location where it is defined.

    Internally used function for setting a value along with the .sbt file location where it is defined.

    Definition Classes
    DefinableSetting
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. final def transform(f: (T) ⇒ T, source: SourcePosition): Def.Setting[InputTask[T]]

  42. final val transform: (InputTask[T]) ⇒ InputTask[T]

    Definition Classes
    KeyedInitializeKeyed
  43. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def zip[S](o: Def.Initialize[S]): Def.Initialize[(InputTask[T], S)]

    Definition Classes
    Initialize
  47. def zipWith[S, U](o: Def.Initialize[S])(f: (InputTask[T], S) ⇒ U): Def.Initialize[U]

    Definition Classes
    Initialize
  48. final def ~=(f: (T) ⇒ T): Def.Setting[InputTask[T]]

    Annotations
    @macroImpl( ... )

Deprecated Value Members

  1. def validateReferenced(g: Def.ValidateRef): Def.ValidatedInit[InputTask[T]]

    Definition Classes
    Initialize
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.2) Will be made private.

Inherited from DefinableSetting[InputTask[T]]

Inherited from ScopingSetting[InputKey[T]]

Inherited from Def.KeyedInitialize[InputTask[T]]

Inherited from Def.Keyed[InputTask[T], InputTask[T]]

Inherited from Def.Initialize[InputTask[T]]

Inherited from Scoped

Inherited from AnyRef

Inherited from Any

Ungrouped