Quarantined
data class Quarantined(val proposition: Proposition, val reason: String, val affectedMentionTypes: Set<String>, val previousStatus: PropositionStatus) : QuarantineDecision
Schema drift stranded this proposition, and it has been flagged.
proposition is an immutable copy already moved to PropositionStatus.QUARANTINED and annotated with the reason under DiceMetadataKeys.QUARANTINE_REASON and the status it came from under DriftQuarantineKeys.PREVIOUS_STATUS. The original is never mutated, and nothing is written anywhere; persisting the copy is the caller's job.
Constructors
Link copied to clipboard
constructor(proposition: Proposition, reason: String, affectedMentionTypes: Set<String>, previousStatus: PropositionStatus)
Properties
Link copied to clipboard
The entity type names that triggered it.
Link copied to clipboard
The status the proposition carried before this decision, which DriftSweepCapable.releaseFromQuarantine restores. Any status but QUARANTINED itself: a proposition already quarantined never reaches this decision.
Link copied to clipboard
The flagged, QUARANTINED copy.