BuildEnvironment class abstract
Utilities to interact with the environment in which a build is running.
All side effects and user interaction should go through the build environment. An IO based environment can write to disk and interact through stdout/stdin, while a theoretical web or remote environment might interact over HTTP.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- reader → RunnerAssetReader
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- writer → RunnerAssetWriter
-
no setter
Methods
-
finalizeBuild(
BuildResult buildResult, FinalizedAssetsView finalizedAssetsView, AssetReader assetReader, Set< BuildDirectory> buildDirs) → Future<BuildResult> -
Invoked after each build, can modify the
BuildResult
in any way, even converting it to a failure. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onLog(
LogRecord record) → void -
prompt(
String message, List< String> choices) → Future<int> - Prompt the user for input.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited