Grinder class

A class representing a running instance of a Grinder.

Constructors

Grinder()
Create a new instance of Grinder.

Properties

ansi ↔ Ansi
getter/setter pair
defaultTask GrinderTask?
The default task run when no tasks are specified on the command line.
getter/setter pair
hasDefaultTask bool
Return whether this grinder instance has a default task set.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tasks List<GrinderTask>
Get the list of all the Grinder tasks.
no setter

Methods

addTask(GrinderTask task) → void
Add a task to this Grinder instance.
getAllDependencies(GrinderTask task) List<TaskInvocation>
Given a task, return all of its transitive dependencies.
getBuildOrder() List<TaskInvocation>
Return the calculated build order of the task invocations for this run.
getImmediateDependencies(GrinderTask task) Iterable<TaskInvocation>
Given a task, return all of its immediate dependencies.
getTask(String name) GrinderTask?
Get the task with the given name. Returns null if none found.
log(String message) → void
Log the given informational message.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start(Iterable invocations, {bool dontRun = false}) Future
Start the build process and run all the tasks in the calculated build order.
toString() String
A string representation of this object.
inherited

Operators

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