sealed abstract class TaskKey[T] extends ScopedTaskable[T] with sbt.Def.KeyedInitialize[Task[T]] with ScopingSetting[TaskKey[T]] with DefinableTask[T]
Identifies a task. It consists of three parts: the scope, the name, and the type of the value computed by a 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[Task[T]]
.
Instances are constructed using the companion object.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TaskKey
- DefinableTask
- ScopingSetting
- KeyedInitialize
- Keyed
- Initialize
- ScopedTaskable
- Taskable
- Scoped
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- macro def ++=[U](vs: U)(implicit a: Values[T, U]): Def.Setting[Task[T]]
- macro def +=[U](v: U)(implicit a: Append.Value[T, U]): Def.Setting[Task[T]]
- final macro def --=[U](vs: U)(implicit r: Values[T, U]): Def.Setting[Task[T]]
- final macro def -=[U](v: U)(implicit r: Remove.Value[T, U]): Def.Setting[Task[T]]
-
macro
def
:=(v: T): Def.Setting[Task[T]]
- Definition Classes
- DefinableTask
- macro def <++=[V](vs: Def.Initialize[Task[V]])(implicit a: Values[T, V]): Def.Setting[Task[T]]
- macro def <+=[V](v: Def.Initialize[Task[V]])(implicit a: Append.Value[T, V]): Def.Setting[Task[T]]
-
macro
def
<<=(app: Def.Initialize[Task[T]]): Def.Setting[Task[T]]
- Definition Classes
- DefinableTask
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
?: Def.Initialize[Task[Option[T]]]
- Definition Classes
- DefinableTask
-
def
??[T >: T](or: ⇒ T): Def.Initialize[Task[T]]
- Definition Classes
- DefinableTask
- def append1[V](v: Def.Initialize[Task[V]], source: SourcePosition)(implicit a: Append.Value[T, V]): Def.Setting[Task[T]]
- def appendN[V](vs: Def.Initialize[Task[V]], source: SourcePosition)(implicit a: Values[T, V]): Def.Setting[Task[T]]
-
final
def
apply[Z](g: (Task[T]) ⇒ Z): Def.Initialize[Z]
- Definition Classes
- Keyed → Initialize
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
- Definition Classes
- TaskKey → Equals
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
dependencies: List[Def.ScopedKey[Task[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]): Task[T]
- Definition Classes
- Keyed → Initialize
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(settings: Settings[Scope]): Option[Task[T]]
- Definition Classes
- DefinableTask
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- Scoped → AnyRef → Any
-
def
in(scope: Scope): TaskKey[T]
- Definition Classes
- TaskKey → ScopingSetting
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
mapConstant(g: Def.MapConstant): Def.Initialize[Task[T]]
- Definition Classes
- Keyed → Initialize
-
final
def
mapReferenced(g: Def.MapScoped): Def.Initialize[Task[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()
-
def
or[T >: T](i: Def.Initialize[Task[T]]): Def.Initialize[Task[T]]
- Definition Classes
- DefinableTask
- final def remove1[V](v: Def.Initialize[Task[V]], source: SourcePosition)(implicit r: Remove.Value[T, V]): Def.Setting[Task[T]]
- final def removeN[V](vs: Def.Initialize[Task[V]], source: SourcePosition)(implicit r: Values[T, V]): Def.Setting[Task[T]]
- def scopedKey: Def.ScopedKey[Task[T]]
-
def
set(app: Def.Initialize[Task[T]], source: SourcePosition): Def.Setting[Task[T]]
- Definition Classes
- DefinableTask
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toSettingKey: SettingKey[Task[T]]
- Definition Classes
- DefinableTask
-
def
toString(): String
- Definition Classes
- TaskKey → AnyRef → Any
- def toTask: Def.Initialize[Task[T]]
-
def
transform(f: (T) ⇒ T, source: SourcePosition): Def.Setting[Task[T]]
- Definition Classes
- DefinableTask
-
final
val
transform: (Task[T]) ⇒ Task[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): TaskKey[T]
-
def
zip[S](o: Def.Initialize[S]): Def.Initialize[(Task[T], S)]
- Definition Classes
- Initialize
-
def
zipWith[S, U](o: Def.Initialize[S])(f: (Task[T], S) ⇒ U): Def.Initialize[U]
- Definition Classes
- Initialize
-
macro
def
~=(f: (T) ⇒ T): Def.Setting[Task[T]]
- Definition Classes
- DefinableTask
Deprecated Value Members
-
def
in(p: ScopeAxis[Reference], c: ScopeAxis[ConfigKey], t: ScopeAxis[AttributeKey[_]]): TaskKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(p: Reference, c: ConfigKey, t: Scoped): TaskKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(p: Reference, t: Scoped): TaskKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(p: Reference, c: ConfigKey): TaskKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(c: ConfigKey, t: Scoped): TaskKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(c: ConfigKey): TaskKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(t: Scoped): TaskKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
in(p: Reference): TaskKey[T]
- Definition Classes
- ScopingSetting
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0)
-
def
task: SettingKey[Task[T]]
- Definition Classes
- DefinableTask
- Annotations
- @deprecated
- Deprecated
(Since version 0.13.2) No longer needed with new task syntax and SettingKey inheriting from Initialize.