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.
- Alphabetic
- By Inheritance
- InputKey
- DefinableSetting
- ScopingSetting
- KeyedInitialize
- Keyed
- Initialize
- Scoped
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- final macro def :=(v: T): Def.Setting[InputTask[T]]
-
final macro
def
<<=(app: Def.Initialize[InputTask[T]]): Def.Setting[InputTask[T]]
- Definition Classes
- DefinableSetting
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
?: Def.Initialize[Option[InputTask[T]]]
Creates an Def.Initialize with value
scala.None
if there was no previous definition of this key, andscala.Some(value)
if a definition exists.Creates an Def.Initialize with value
scala.None
if there was no previous definition of this key, andscala.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]]
, orInitialize[None]
if unbound.
- Definition Classes
- DefinableSetting
-
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
-
final
def
apply[Z](g: (InputTask[T]) ⇒ Z): Def.Initialize[Z]
- Definition Classes
- Keyed → Initialize
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
- Definition Classes
- InputKey → Equals
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
dependencies: List[Def.ScopedKey[InputTask[T]]]
- Definition Classes
- Keyed → Initialize
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- Scoped → Equals → AnyRef → Any
-
final
def
evaluate(ss: Settings[Scope]): InputTask[T]
- Definition Classes
- Keyed → Initialize
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- Scoped → AnyRef → Any
-
def
in(scope: Scope): InputKey[T]
- Definition Classes
- InputKey → ScopingSetting
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
mapConstant(g: Def.MapConstant): Def.Initialize[InputTask[T]]
- Definition Classes
- Keyed → Initialize
-
final
def
mapReferenced(g: Def.MapScoped): Def.Initialize[InputTask[T]]
- Definition Classes
- Keyed → Initialize
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
-
def
scopedKey: Def.ScopedKey[InputTask[T]]
- Definition Classes
- InputKey → DefinableSetting → Keyed
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- InputKey → AnyRef → Any
- final def transform(f: (T) ⇒ T, source: SourcePosition): Def.Setting[InputTask[T]]
-
final
val
transform: (InputTask[T]) ⇒ InputTask[T]
- Definition Classes
- KeyedInitialize → Keyed
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- final def withRank(rank: Int): InputKey[T]
-
def
zip[S](o: Def.Initialize[S]): Def.Initialize[(InputTask[T], S)]
- Definition Classes
- Initialize
-
def
zipWith[S, U](o: Def.Initialize[S])(f: (InputTask[T], S) ⇒ U): Def.Initialize[U]
- Definition Classes
- Initialize
- final macro def ~=(f: (T) ⇒ T): Def.Setting[InputTask[T]]
Deprecated Value Members
-
def
in(p: ScopeAxis[Reference], c: ScopeAxis[ConfigKey], t: ScopeAxis[AttributeKey[_]]): InputKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(p: Reference, c: ConfigKey, t: Scoped): InputKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(p: Reference, t: Scoped): InputKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(p: Reference, c: ConfigKey): InputKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(c: ConfigKey, t: Scoped): InputKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(c: ConfigKey): InputKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(t: Scoped): InputKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(p: Reference): InputKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)