Interface: Task
A representation of the invocation of an Executor
Table of contents
Properties
- cache: boolean
 - endTime: number
 - hash: string
 - hashDetails: Object
 - id: string
 - outputs: string[]
 - overrides: any
 - parallelism: boolean
 - projectRoot: string
 - startTime: number
 - target: Object
 
Properties
cache
โข Optional cache: boolean
Determines if a given task should be cacheable.
endTime
โข Optional endTime: number
Unix timestamp of when a Batch Task ends
hash
โข Optional hash: string
Hash of the task which is used for caching.
hashDetails
โข Optional hashDetails: Object
Details about the composition of the hash
Type declaration
| Name | Type | Description | 
|---|---|---|
command | string | Command of the task | 
implicitDeps? | { [fileName: string]: string; } | Hashes of implicit dependencies which are included in the hash | 
nodes | { [name: string]: string; } | Hashes of inputs used in the hash | 
runtime? | { [input: string]: string; } | Hash of the runtime environment which the task was executed | 
id
โข id: string
Unique ID
outputs
โข outputs: string[]
The outputs the task may produce
overrides
โข overrides: any
Overrides for the configured options of the target
parallelism
โข parallelism: boolean
Determines if a given task should be parallelizable.
projectRoot
โข Optional projectRoot: string
Root of the project the task belongs to
startTime
โข Optional startTime: number
Unix timestamp of when a Batch Task starts
target
โข target: Object
Details about which project, target, and configuration to run.
Type declaration
| Name | Type | Description | 
|---|---|---|
configuration? | string | The configuration of the target which the task invokes | 
project | string | The project for which the task belongs to | 
target | string | The target name which the task should invoke |