InstallApkStep class

adb install -r the resolved APK, with the classic failure classification (signing-key mismatch, no device).

Inheritance

Constructors

InstallApkStep({String? deviceId, String? adbPath, ResolvedToolchain? toolchain})

Properties

adbPath → String?
Injectable adb path (tests / explicit config); null → toolchain.
final
deviceId → String?
Device serial — required on multi-device hosts (phone + emulator); null lets adb pick (single-device setups only).
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 setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toolchain → ResolvedToolchain?
Null → PipelineState.resolvedToolchain → default (ADR-0013 T2).
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