Interface EventDeserializer
- All Known Implementing Classes:
EventDeserializerImpl
public interface EventDeserializer
Interface that models an event deserializer.
-
Method Summary
Modifier and TypeMethodDescriptionfromString
(String eventKey, String event) Deserialize an event from string.
-
Method Details
-
fromString
Deserialize an event from string.- Parameters:
eventKey
- the key of the event.event
- the event in string format.- Returns:
- the deserialized event as an optional.
-