![JAR search and dependency download from the Maven repository](/logo.png)
net.glorat.cqrs.AggregateRootState.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dlstore_2.11 Show documentation
Show all versions of dlstore_2.11 Show documentation
Ledger state machine framework backed by Kafka distributed ledger store
The newest version!
package net.glorat.cqrs
/**
* Must be a value object
* Current implementation extends Product to strongly encourage use of case class in Scala
*/
trait AggregateRootState extends Product {
/**
* State class must handle any events with no exception
* @param e domain event
* @return modified state
*/
def handle(e:DomainEvent) : AggregateRootState
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy