public class AggregateEventTag$
extends Object
Modifier and Type | Field and Description |
---|---|
static AggregateEventTag$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
AggregateEventTag$() |
Modifier and Type | Method and Description |
---|---|
<Event extends AggregateEvent<Event>> |
of(Class<Event> eventType)
Convenience factory method of
AggregateEventTag that uses the
class name of the event type as tag . |
<Event extends AggregateEvent<Event>> |
of(Class<Event> eventType,
String tag)
Factory method of
AggregateEventTag . |
public static final AggregateEventTag$ MODULE$
public <Event extends AggregateEvent<Event>> AggregateEventTag<Event> of(Class<Event> eventType)
AggregateEventTag
that uses the
class name of the event type as tag
. Note that it is needed to
retain the original tag when the class name is changed because
the tag is part of the store event data.public <Event extends AggregateEvent<Event>> AggregateEventTag<Event> of(Class<Event> eventType, String tag)
AggregateEventTag
.