public class DomainEvents extends Object
| Constructor and Description | 
|---|
DomainEvents()  | 
| Modifier and Type | Method and Description | 
|---|---|
static DomainEventValue | 
currentEvent()  | 
static void | 
setCurrentEvent(DomainEventValue currentEvent)
This is called by the EventSourcing library, either during creation or replay. 
 | 
public static DomainEventValue currentEvent()
public static void setCurrentEvent(DomainEventValue currentEvent)
currentEvent - new current event