DVReleaseHistory class final

Every deploy, oldest first.

Constructors

DVReleaseHistory({DVReleaseDiagnosticSink? onDiagnostic})
DVReleaseHistory.fromJson(Map<String, Object?> json, {DVReleaseDiagnosticSink? onDiagnostic})
Reads a history. Diagnostics are not raised again for deploys that already happened.
factory

Properties

current → DVDeployedRelease?
The release serving now.
no setter
hashCode → int
The hash code for this object.
no setterinherited
releases → List<DVDeployedRelease>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

deployed(String id, {required DVReleaseRecord? provenance, required DateTime at}) → void
id was deployed at at, with its provenance record or without one.
find(String id) → DVDeployedRelease?
The most recent deploy of id, or null.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previous() → DVDeployedRelease?
The release that was serving before the current one: not the current release again, and not one a rollback took away.
rolledBack({required String to, required DateTime at}) → void
The current release was rolled back to to, an earlier release, at at.
servingAt(DateTime at) → DVDeployedRelease?
The release serving at at: the newest deployed at or before it.
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

format → const int
The on-disk format.