ProjectOperationOutcome class final

The captured result of one declared operation run.

Constructors

ProjectOperationOutcome({required bool ok, required ProjectOperationKind kind, required String operationId, required List<String> argv, required String workingDirectory, required Duration duration, int? exitCode, String stdout = '', String stderr = '', String? error, String? detail, bool physicallySettled = true, bool truncatedOutput = false, List<int> survivors = const <int>[], int? pid, String? rootIdentityToken})
Describes one run.
const

Properties

argv → List<String>
The exact argv that ran.
final
detail → String?
The detail of the named failure.
final
duration → Duration
How long the command took.
final
error → String?
The named failure, when the run failed.
final
exitCode → int?
The exit code, when the command exited on its own.
final
hashCode → int
The hash code for this object.
no setterinherited
kind → ProjectOperationKind
What the operation does.
final
ok → bool
Whether the command reported success.
final
operationId → String
The id of the declared operation.
final
physicallySettled → bool
Whether the command's work physically stopped.
final
pid → int?
The pid of the spawned command, when it was spawned.
final
rootIdentityToken → String?
The bounded run's process identity, retained for owner-gated recovery.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stderr → String
The captured standard error.
final
stdout → String
The captured standard output.
final
survivors → List<int>
The pids that survived a deadline stop.
final
truncatedOutput → bool
Whether the captured output was truncated.
final
workingDirectory → String
The directory the command ran in.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
The evidence projection of this outcome.
toString() → String
A string representation of this object.
inherited

Operators

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