| Package | Description |
|---|---|
| io.fluxcapacitor.javaclient | |
| io.fluxcapacitor.javaclient.common.model | |
| io.fluxcapacitor.javaclient.eventsourcing |
| Modifier and Type | Method and Description |
|---|---|
static <T> Model<T> |
FluxCapacitor.loadAggregate(String id,
Class<T> modelType)
Loads the most recent aggregate root of type
T with given id. |
| Modifier and Type | Method and Description |
|---|---|
default Model<T> |
Model.apply(Function<T,Message> eventFunction) |
Model<T> |
Model.apply(Message message) |
default Model<T> |
Model.apply(Object event) |
default Model<T> |
Model.apply(Object event,
Metadata metadata) |
default <E extends Exception> |
Model.assertThat(Model.Validator<T,E> validator) |
default <E extends Exception> |
Model.ensure(Predicate<T> check,
Function<T,E> errorProvider) |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DefaultEventSourcing.EventSourcedModel<T> |
| Modifier and Type | Method and Description |
|---|---|
Model<T> |
DefaultEventSourcing.EventSourcedModel.apply(Message message) |
<T> Model<T> |
EventSourcing.load(String id,
Class<T> modelType) |
<T> Model<T> |
DefaultEventSourcing.load(String modelId,
Class<T> modelType) |
Copyright © 2019 Flux Capacitor. All rights reserved.