EnsureAvdStep class

Ensures the AVD exists (creates it when createIfMissing; a missing system image fails closed, naming the exact non-interactive sdkmanager command).

Inheritance

Constructors

EnsureAvdStep({required String avdName, required String systemImage, String? deviceProfile, bool createIfMissing = true, String? avdManagerPath, ResolvedToolchain? toolchain, Future<ProcessResult> runProcess(String, List<String>)?})

Properties

avdManagerPath → String?
final
avdName → String
final
createIfMissing → bool
final
deviceProfile → String?
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Unique step name, used in logs and YAML overrides (pipeline.steps). Keep it stable: incremental-build caches and pipeline overrides refer to steps by name.
no setteroverride
provides → Set<Artifact<Object>>
Artifacts this step makes available to downstream steps. Ids must be unique across the pipeline.
no setterinherited
requires → Set<Artifact<Object>>
Artifacts this step needs from upstream steps. Declared up front so the whole chain is validated before any tool runs.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
systemImage → String
final
toolchain → ResolvedToolchain?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(BuildContext ctx, PipelineState state) → Future<StepResult>
Executes the step. Read upstream values from state, write this step's outputs back into it, and return StepResult.success or StepResult.failure. Throw only for programming errors — expected tool/build failures are reported via the result.
override
toString() → String
A string representation of this object.
inherited

Operators

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