Package-level declarations
Types
Link copied to clipboard
class AggregateComposed<STATE : AggregateState, COMMAND, EVENT : Any, EVENT_PERSISTED : Any> : Aggregate<STATE, COMMAND, EVENT>
Standard loaded Aggregate composed from separate decision, evolution, and persistence policies.
Link copied to clipboard
Domain policy that decides whether a command is accepted and which events it proposes. Decisions should be deterministic and free of externally visible side effects.
Link copied to clipboard
Deterministically folds committed events into aggregate state.
Link copied to clipboard
class AggregateRepositoryComposed<STATE : AggregateState, COMMAND, EVENT : Any, EVENT_PERSISTED : Any>(definition: AggregateDefinition<STATE, COMMAND, EVENT, EVENT_PERSISTED>, eventStore: AggregateEventStore<EVENT>, snapshotStore: SnapshotStore<STATE> = SnapshotStoreNoOp(), aggregateStateSchema: AggregateStateSchema<STATE, *>? = null) : AggregateRepository<STATE, COMMAND, EVENT>
Standard AggregateRepository composed from a decider, evolver, event store, and snapshots.
Link copied to clipboard
sealed interface AggregateSeed<EVENT, out STATE : AggregateState> : HasAggregateId, HasEvents<CommittedEvent<EVENT>> , HasAggregateVersion
Event history or snapshot state used to reconstruct an AggregateComposed.
Link copied to clipboard
Link copied to clipboard