GrinderTask class

Represents a Grinder task. These can be created automatically using the Task and Depends annotations.

Constructors

GrinderTask(String name, {Function? taskFunction, String? description, Iterable depends = const []})
Create a new GrinderTask.

Properties

depends List<TaskInvocation>
The list of task invocation dependencies; task invocations that must run before this task is invoked.
final
description String?
An optional description of the task.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the task.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskFunction Function?
The function to execute when starting this task.
final

Methods

execute(GrinderContext context, [TaskArgs? args]) → dynamic
This method is invoked when the task is started. If a task was created with a function, that function will be invoked by this method.
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.
inherited