TaskWithDeps class

A Task including its transitive dependencies.

Instances of this type can be sorted in the order that they would execute, according to their dependencies.

Implemented types

Constructors

TaskWithDeps(Task _task, [List<TaskWithDeps> dependencies = const <TaskWithDeps>[]])

Properties

action → dynamic Function(List<String>)
The action this task performs.
no setteroverride
argsValidator ArgsValidator
no setteroverride
dependencies List<TaskWithDeps>
Dependencies of this task, already sorted in the order the tasks would execute.
final
dependencySet Set<String>
Set of dependency names.
final
depends Set<String>
Get this task's dependencies.
no setteroverride
description String
no setteroverride
directDependencies Set<String>
The direct dependencies of this task.
no setter
hashCode int
The hash code for this object.
no setteroverride
isParallelizable bool
Whether this task may run in parallel with others inside Isolates.
no setteroverride
name String
The name of this task.
no setteroverride
phase TaskPhase
no setteroverride
runCondition RunCondition
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(TaskWithDeps other) int
Compares this object to another object.
override
dependsOn(Set<String> taskNames) → void
Add dependencies on other tasks.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override