Task class abstract

Interface to encapsulate CLI task functionality.

Implementers

Constructors

Task(ScriptName scriptName, TaskName taskName)
Create a new CliTask.

Properties

hashCode int
The hash code for this object.
no setterinherited
options Map<ScriptOption, String>
The options which configures the task.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scriptName ScriptName
The script the task belongs to.
final
taskName TaskName
The name of this task.
final

Methods

dependsOn() List<Task>
List of tasks that should be run before executing this task.
exampleCommands() List<String>
Output list of example commands to use this Task.
execute(String pathToRoot) Future<TaskResult>
Execute the task.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBeExecuted(String pathToRoot) Future<void>
Task logic implemented by the child class which will be executed.
toString() String
A string representation of this object.
override

Operators

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