StepContext class abstract interface

What a running step can do. Everything goes through the runner, so that it is shown and logged

Properties

hashCode → int
The hash code for this object.
no setterinherited
runSteps → List<StepState>
All the steps of the run, as they are at the moment, in the order they are shown
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → StepState
The state of this step, e.g. to see how the steps before it in its group have done
no setter

Methods

log(String line) → void
Adds a line to the log file without showing it in the terminal
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runCommand(String executable, List<String> arguments, {List<String> redactions, Map<String, String> environment}) → Future<(CommandResult?, CommandError?)>
Runs a command as part of the step
status(String text) → void
Shows what the step is doing at the moment, e.g. Uploading the build file
toString() → String
A string representation of this object.
inherited
warn(String message) → void
Shows a warning under the step. The step still succeeds

Operators

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