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
- name → String
-
The name of the task.
final
- taskFunction → Function
-
The function to execute when starting this task.
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
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.
-
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited