CockpitRunEvent class final

Constructors

CockpitRunEvent({required String eventId, required int sequence, required DateTime timestamp, required String kind, required CockpitRunEventEntityKind entityKind, required String projectId, required String workspaceId, required String runId, String? caseId, String? attemptId, String? stepExecutionId, CockpitTestStepStatus? stepStatus, CockpitRunLifecycle? lifecycle, CockpitRunOutcome? outcome, CockpitRunStability? stability, CockpitTestSourceLocation? sourceLocation, String? targetId, CockpitTestPlane? requestedPlane, CockpitTestPlane? actualPlane, String? driverId, String? degradation, Map<String, Object?> locatorSummary = const <String, Object?>{}, CockpitFailure? failure, Iterable<CockpitArtifactReference> artifacts = const <CockpitArtifactReference>[]})
Creates a CockpitRunEvent.
CockpitRunEvent.fromJson(Object? value, {String path = r'$', CockpitDecodePolicy decodePolicy = CockpitDecodePolicy.requests})
Decodes a CockpitRunEvent from a JSON object.
factory

Properties

actualPlane → CockpitTestPlane?
final
artifacts → List<CockpitArtifactReference>
final
attemptId → String?
final
caseId → String?
final
degradation → String?
final
driverId → String?
final
entityKind → CockpitRunEventEntityKind
final
eventId → String
final
failure → CockpitFailure?
final
hashCode → int
The hash code for this object.
no setterinherited
kind → String
final
lifecycle → CockpitRunLifecycle?
final
locatorSummary → Map<String, Object?>
final
outcome → CockpitRunOutcome?
final
projectId → String
final
requestedPlane → CockpitTestPlane?
final
runId → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sequence → int
final
sourceLocation → CockpitTestSourceLocation?
final
stability → CockpitRunStability?
final
stepExecutionId → String?
final
stepStatus → CockpitTestStepStatus?
final
targetId → String?
final
timestamp → DateTime
final
workspaceId → String
final

Methods

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

Operators

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

Static Methods

validateSequence(Iterable<CockpitRunEvent> events, {int afterSequence = 0, bool contiguous = true}) → void