Interface EventSerializer

All Known Implementing Classes:
EventSerializerImpl

public interface EventSerializer
Interface that models an event serializer.
  • Method Summary

    Modifier and Type
    Method
    Description
    eventToString(Event<?> eventToSerialize)
    Serialize an event to string.
  • Method Details

    • eventToString

      Optional<String> eventToString(Event<?> eventToSerialize)
      Serialize an event to string.
      Parameters:
      eventToSerialize - the event to serialize.
      Returns:
      the string corresponding to the event.