PropositionStatusChanged

data class PropositionStatusChanged(val proposition: Proposition, val previousStatus: PropositionStatus, val newStatus: PropositionStatus, val reason: String? = null, val timestamp: Instant = Instant.now()) : DiceEvent

A proposition moved to a different lifecycle PropositionStatus — for example going stale during a decay sweep, or coming back to life when it's seen again.

Constructors

Link copied to clipboard
constructor(proposition: Proposition, previousStatus: PropositionStatus, newStatus: PropositionStatus, reason: String? = null, timestamp: Instant = Instant.now())

Properties

Link copied to clipboard

Where it is now.

Link copied to clipboard

Where it was before.

Link copied to clipboard

The proposition, in its state after the change.

Link copied to clipboard
val reason: String? = null

An optional note on why it changed.

Link copied to clipboard
open val timestamp: Instant