Rejected

class Rejected @InternalWowApi constructor(val rejection: Rejection, val events: List<Any> = emptyList()) : Decision

The command is refused for rejection, with the events it carries: ordinary events of the aggregate, each sourced by it, appended with the rejection in one stream. Without events nothing is appended; a rejection of a creation appends nothing either.

Fields may be added: construct one with of; the constructor is internal to Wow.

Constructors

Link copied to clipboard
constructor(rejection: Rejection, events: List<Any> = emptyList())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String