WorkerExecutionResult class
Result returned from a worker execution.
Constructors
-
WorkerExecutionResult({required String taskId, required String workerId, required WorkerExecutionStatus status, int exitCode = 0, Map<
String, dynamic> outputData = const {}, String stdoutLog = '', String stderrLog = '', String? errorMessage, required int durationMs, required DateTime startedAt, required DateTime completedAt}) -
const
-
WorkerExecutionResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
- completedAt → DateTime
-
final
- durationMs → int
-
final
- errorMessage → String?
-
final
- exitCode → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
no setter
-
outputData
→ Map<
String, dynamic> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startedAt → DateTime
-
final
- status → WorkerExecutionStatus
-
final
- stderrLog → String
-
final
- stdoutLog → String
-
final
- taskId → String
-
final
- workerId → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited