PropositionContradicted

data class PropositionContradicted constructor(val contextId: <Error class: unknown class>, val original: Proposition, val new: Proposition, val timestamp: Instant = Instant.now()) : DiceEvent

A new proposition directly contradicts one we already held. Both are handed to listeners so they can decide how to reconcile them.

Constructors

Link copied to clipboard
constructor(contextId: <Error class: unknown class>, original: Proposition, new: Proposition, timestamp: Instant = Instant.now())

Properties

Link copied to clipboard
val contextId: <Error class: unknown class>

The context in which the contradiction surfaced.

Link copied to clipboard

The new proposition that contradicts it.

Link copied to clipboard

The proposition that already existed.

Link copied to clipboard
open val timestamp: Instant

When the event was created.