| Package | Description |
|---|---|
| io.simplesource.api | |
| io.simplesource.dsl |
| Class | Description |
|---|---|
| CommandAPI |
The public API for submitting commands against a given aggregate and
querying where they have been successfully applied.
|
| CommandAPI.Request | |
| CommandError |
A CommandError explains failures.
|
| CommandError.Reason |
| Class | Description |
|---|---|
| Aggregator |
An Aggregator is a function that builds up an aggregate from a stream of events (effectively a fold function).
|
| CommandHandler |
A command handler is responsible for accepting or rejecting commands and turning accepted commands into a list of
events by applying the appropriate business logic and validations based on the current state.
|
Copyright © 2019. All rights reserved.