of
fun of(propositionId: String, reason: MarkReason, outcome: CollectorOutcome, strategyName: String, runId: String, at: Instant = Instant.now(), previousStatus: PropositionStatus? = null, newStatus: PropositionStatus? = null, mergedIntoId: String? = null, undoneAt: Instant? = null): CollectorRecord
Java-friendly factory method to create a CollectorRecord.
Parameters
proposition Id
ID of the proposition that was acted upon
reason
Typed explanation of why the proposition was marked
outcome
What the collector did to the proposition
strategy Name
Name of the collector strategy that produced this record
run Id
ID of the collection run
at
When this record was created
previous Status
The proposition's status before the outcome
new Status
The proposition's status after the outcome
merged Into Id
The survivor the sweep merged this proposition into, if it did
undone At
When that merge was reversed, or null while it stands