ProducesArtifacts class abstract interface

A result that also produced files worth handing over as files.

An action whose whole answer is one file returns an Artifact and is done. This is for the other shape: a result that is mostly data and has a picture in it somewhere — a run of fifty steps where one frame is the one to look at. The data still travels; these ride alongside, so a surface that can show an image shows it and one that cannot is no worse off.

Keep it to what the caller actually needs to see. Every artifact here costs an agent context, so a run returns the frame that explains the failure rather than all fifty.

Implementers

Properties

artifacts → List<Artifact>
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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