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.
Attributes
Members list
Value members
Concrete methods
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
Inherited methods
Attributes
- Inherited from:
- DefinableSetting
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.
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.
Attributes
- Returns
-
currently bound value wrapped in
Initialize[Some[T]]
, orInitialize[None]
if unbound. - Inherited from:
- DefinableSetting
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.
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.
Value parameters
- or
-
by-name expression evaluated when a value is needed.
Attributes
- Returns
-
currently bound setting value, or the result of
or
if unbound. - Inherited from:
- DefinableSetting
Attributes
- Definition Classes
-
Keyed -> Initialize
- Inherited from:
- Keyed
Attributes
- Definition Classes
-
Keyed -> Initialize
- Inherited from:
- Keyed
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)
).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
- Returns
-
true
if the receiver object is equivalent to the argument;false
otherwise. - Definition Classes
- Inherited from:
- Scoped
Attributes
- Definition Classes
-
Keyed -> Initialize
- Inherited from:
- Keyed
From the given Settings
, extract the value bound to this key.
From the given Settings
, extract the value bound to this key.
Attributes
- Inherited from:
- DefinableSetting
Calculate a hash code value for the object.
Calculate a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
. However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals
method.
Attributes
Attributes
- Definition Classes
-
Keyed -> Initialize
- Inherited from:
- Keyed
Attributes
- Definition Classes
-
Keyed -> Initialize
- Inherited from:
- Keyed
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.
Value parameters
- i
-
value to return if this setting doesn't have a value.
Attributes
- Returns
-
currently bound setting value, or
i
if unbound. - Inherited from:
- DefinableSetting
In addition to creating Def.setting(...), this captures the source position.
In addition to creating Def.setting(...), this captures the source position.
Attributes
- Inherited from:
- DefinableSetting
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.
Attributes
- Inherited from:
- DefinableSetting
Attributes
- Inherited from:
- Initialize
Attributes
- Inherited from:
- Initialize