public class Aggregates extends Object
| Constructor and Description |
|---|
Aggregates() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Aggregate<T>> |
applyEventsToMutableAggregate(T aggregate,
List<Event> events,
MissingApplyEventMethodStrategy missingApplyEventMethodStrategy) |
static <T extends Aggregate<T>> |
recreateAggregate(Class<T> clasz,
List<Event> events,
MissingApplyEventMethodStrategy missingApplyEventMethodStrategy) |
public static <T extends Aggregate<T>> T applyEventsToMutableAggregate(T aggregate, List<Event> events, MissingApplyEventMethodStrategy missingApplyEventMethodStrategy)
public static <T extends Aggregate<T>> T recreateAggregate(Class<T> clasz, List<Event> events, MissingApplyEventMethodStrategy missingApplyEventMethodStrategy)
Copyright © 2021. All rights reserved.