EventPlayer

public interface EventPlayer

Plays events upon a certain entity.

Inheritors

Functions

Link copied to clipboard
public static EventPlayer forTransactionOf(TransactionalEntity<? extends Object, ? extends Object, ? extends Object> entity)
Creates a transactional EventPlayer for the given entity.
Link copied to clipboard
public DispatchOutcome play(Event event)
Plays the given event.
public abstract BatchDispatchOutcome play(Iterable<Event> events)
Plays the given events against the underlying entity.