Companion
object Companion
Properties
Link copied to clipboard
The rejection's code.
Link copied to clipboard
The rejection's extensions, as a JSON object; absent when it has none.
Link copied to clipboard
The rejection's message.
Link copied to clipboard
The prefix of the headers a rejection's stream records its rejection under: the framework's, so a command's headers may not set any (admission refuses them).
Functions
Link copied to clipboard
fun of(ref: AggregateRef, version: Int, commandId: String, requestId: String, commandType: String, commitTime: Long, events: List<EventRecord>, scope: Scope, causation: Causation? = null, headers: Map<String, String> = emptyMap(), operator: Operator? = null, access: Map<String, Any?>? = null, accessVersion: Int? = if (access == null) null else version): EventStreamRecord
An EventStreamRecord of the given fields; parameters added later come last, with a default.
Link copied to clipboard
The headers that record rejection on the stream of its events.