MutableCommandBuilder

Constructors

Link copied to clipboard
constructor(body: Any)

Properties

Link copied to clipboard
open override var aggregateId: String?
Link copied to clipboard
open override var aggregateVersion: Int?
Link copied to clipboard
open override var body: Any
Link copied to clipboard
open override var createTime: Long
Link copied to clipboard
open override var header: Header
Link copied to clipboard
open override var id: String
Link copied to clipboard
open override var namedAggregate: NamedAggregate?
Link copied to clipboard
open override var requestId: String?
Link copied to clipboard
open override var tenantId: String?
Link copied to clipboard
open override var upstream: DomainEvent<*>?

Functions

Link copied to clipboard
open override fun aggregateId(aggregateId: String?): CommandBuilder

Aggregate Id

Link copied to clipboard
open override fun aggregateVersion(aggregateVersion: Int?): CommandBuilder

Aggregate Version

Link copied to clipboard
open override fun body(body: Any): CommandBuilder

Command Body

Link copied to clipboard
open fun <C> bodyAs(): C
Link copied to clipboard
open override fun createTime(createTime: Long): CommandBuilder

Create Time

Link copied to clipboard
open override fun header(customize: (header: Header) -> Unit): CommandBuilder
open override fun header(header: Header): CommandBuilder

Header

Link copied to clipboard
open override fun id(id: String): CommandBuilder

Command Message ID

Link copied to clipboard
open fun localFirst(localFirst: Boolean = true): CommandBuilder

Enable Local First mode?

Link copied to clipboard
open override fun namedAggregate(namedAggregate: NamedAggregate): CommandBuilder

Named Aggregate

Link copied to clipboard
open override fun requestId(requestId: String?): CommandBuilder

Request Id

Link copied to clipboard
Link copied to clipboard
open override fun tenantId(tenantId: String?): CommandBuilder

Tenant Id

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun upstream(upstream: DomainEvent<*>): CommandBuilder