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
option String
Get the option value.
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.
execute(String pathToRoot) TaskResult
Execute the task.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
optionValues() List<String>
List of options that can be passed to configure this task.
toBeExecuted(String pathToRoot) → 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