SimpleStateDomainEventExchange

class SimpleStateDomainEventExchange<S : Any, T : Any>(val state: ReadOnlyStateAggregate<S>, val message: DomainEvent<T>, val attributes: MutableMap<String, Any> = ConcurrentHashMap()) : StateDomainEventExchange<S, T>

Constructors

Link copied to clipboard
constructor(state: ReadOnlyStateAggregate<S>, message: DomainEvent<T>, attributes: MutableMap<String, Any> = ConcurrentHashMap())

Properties

Link copied to clipboard
open override val attributes: MutableMap<String, Any>
Link copied to clipboard
open override val message: DomainEvent<T>
Link copied to clipboard
open override val state: ReadOnlyStateAggregate<S>

Functions

Link copied to clipboard
open fun acknowledge(): Mono<Void>
Link copied to clipboard
open override fun clearError()
Link copied to clipboard
open override fun <T : Any> extractDeclared(type: Class<T>): T?
Link copied to clipboard
open fun <T : Any> extractObject(type: Class<T>): T?
Link copied to clipboard
open fun <T : Any> extractRequiredObject(type: Class<T>): T
Link copied to clipboard
open fun <T> getAttribute(key: String): T?
Link copied to clipboard
open override fun getCommandResult(): Map<String, Any>
open override fun <R> getCommandResult(key: String): R?
Link copied to clipboard
open override fun getError(): Throwable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setAttribute(key: String, value: Any): DomainEventExchange<T>
Link copied to clipboard
open override fun setCommandResult(key: String, value: Any)
Link copied to clipboard
Link copied to clipboard
open override fun setError(throwable: Throwable)
Link copied to clipboard
open fun setFunction(functionInfo: FunctionInfo): DomainEventExchange<T>
Link copied to clipboard