Collector Run Result
data class CollectorRunResult constructor(val runId: String, val dryRun: Boolean, val marks: List<PropositionMark>, val applied: List<PropositionMark>, val skipped: List<PropositionMark>, val hardDeleted: List<String>, val startedAt: Instant, val finishedAt: Instant = Instant.now())
Immutable summary of a single collector run.
Reports what the run marked and, when not a preview, what it actually applied. The applied/skipped/hardDeleted partitions let a caller audit the outcome without re-querying the repository.
Constructors
Link copied to clipboard
constructor(runId: String, dryRun: Boolean, marks: List<PropositionMark>, applied: List<PropositionMark>, skipped: List<PropositionMark>, hardDeleted: List<String>, startedAt: Instant, finishedAt: Instant = Instant.now())
Properties
Link copied to clipboard
Marks whose proposition was actually transitioned (empty on a dry run).
Link copied to clipboard
When the run finished; defaults to now.
Link copied to clipboard
IDs of propositions permanently removed (only via an opt-in policy).
Link copied to clipboard
Every mark produced by the configured strategies during this run.
Link copied to clipboard
Unique identifier for this run, shared with its audit records in the record store. Blank for pure-read CollectorRunner.collect results — those are never persisted.
Link copied to clipboard
Marks whose proposition was intentionally left untouched (e.g. pinned).