TaskPhase class
Phases of Tasks.
Tasks in each phase always run before any tasks from the next phase.
The order of built-in phases is:
- setup
- build (default)
- tearDown
Custom phases can be created as long as they use unique index and name.
- Implemented types
- Available extensions
Constructors
- TaskPhase.custom(int index, String name)
-
Create or return a custom phase with the given parameters.
factory
Properties
Methods
-
compareTo(
TaskPhase other) → int -
Compares this object to another object.
override
-
isAfter(
TaskPhase other) → bool - Whether this phase comes after another phase.
-
isBefore(
TaskPhase other) → bool - Whether this phase comes before another phase.
-
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.
override
Static Properties
-
builtInPhases
→ List<
TaskPhase> -
Get the built-in phases. The returned List is immutable.
To access custom phases, use currentZoneTaskPhases instead.
final
-
currentZoneTaskPhases
→ List<
TaskPhase> -
Get the task phases in the current Zone, if it has been set,
or the root task phases otherwise.
no setter