public interface Event
| Modifier and Type | Method and Description |
|---|---|
Event |
abbreviate() |
default Map<String,String> |
eventMetadata() |
default String |
eventModule()
Module is only used for routing, default is to use the package of the event class with ‘event’ removed if it is the last package name element.
|
default String |
eventType()
With default serialization/deserialization this must be the FQN of the event class
|
Event abbreviate()
default String eventType()
With default serialization/deserialization this must be the FQN of the event class
default String eventModule()
Module is only used for routing, default is to use the package of the event class with ‘event’ removed if it is the last package name element.
e.g. the module of io.basestar.custom.event.MyEvent will be io.basestar.custom
Copyright © 2019–2021 Basestar.IO. All rights reserved.