RunReport class

The one report a run ends with (see the library comment).

Constructors

RunReport({required String tool, required String command, required String root, required String host, required DateTime started, List<String> given = const [], required RepoNames names, String? helpCommand})

Properties

command → String
final
done → List<ReportDone>
final
exitCode → int
The exit code the run ends with: the highest of its messages'.
no setter
given → List<String>
The run's arguments other than the command, as typed.
final
hashCode → int
The hash code for this object.
no setterinherited
helpCommand → String?
How the footer names the help (buildkit help <topic>); default <tool> help <topic>.
final
host → String
final
lookedAt → Set<String>
Every repository looked at (by path), for the summary and -v.
final
messages → List<ReportMessage>
final
names → RepoNames
The names of the run's repositories.
final
root → String
The folder holding repos.yaml, and the host's fleet id.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
started → DateTime
final
tool → String
buildkit, and the command as typed (:ws-push).
final

Methods

add(ReportMessage message) → void
Adds message (raise it with MessageDefinition.raise).
changed(ReportDone entry) → void
Records what changed in repository.
commandLine(ReportMessage message, MessageOption option) → String
The command line that repeats the run with option for message.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderJson() → String
toJson as indented text.
renderText({bool verbose = false, int width = 100}) → String
The report as text; verbose lists the repositories with nothing to do and every changed file (else the first 20 per repository); width aligns the codes on the right.
toJson() → Map<String, Object?>
The report as JSON: the header, the summary, every message with its code, level, repository, evidence and options ({option, explanation, commandLine}), and what was done.
toString() → String
A string representation of this object.
inherited

Operators

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