AnalysisJob class

Represents a running or completed analysis job.

Constructors

AnalysisJob({required String jobId, required String specId, required String specVersion, required AnalysisExecutionMode mode, required AnalysisJobStatus status, double progress = 0.0, required DateTime createdAt, DateTime? startTime, DateTime? endTime, AnalysisTimeRange? inputRange, Map<String, dynamic> parameters = const {}, List<String> artifactIds = const [], List<AnalysisJobLog> logs = const [], List<AnalysisError> errors = const []})
Cannot be const due to Map<String, dynamic> field.
AnalysisJob.fromJson(Map<String, dynamic> json)
Create from JSON.
factory

Properties

artifactIds List<String>
IDs of artifacts produced by this job.
final
createdAt DateTime
Timestamp when the job was created.
final
endTime DateTime?
Timestamp when the job finished.
final
errors List<AnalysisError>
Errors encountered during execution.
final
hashCode int
The hash code for this object.
no setterinherited
inputRange AnalysisTimeRange?
Time range of the input data processed.
final
jobId String
Unique job identifier.
final
logs List<AnalysisJobLog>
Step execution logs.
final
mode AnalysisExecutionMode
Execution mode for this job.
final
parameters Map<String, dynamic>
Runtime parameters provided for this job.
final
progress double
Progress from 0.0 (not started) to 1.0 (complete).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
specId String
Identifier of the spec this job executes.
final
specVersion String
Version of the spec used.
final
startTime DateTime?
Timestamp when the job started executing.
final
status AnalysisJobStatus
Current status of the job.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert to JSON.
toString() String
A string representation of this object.
inherited

Operators

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