Interface IEventConverter

    • Method Detail

      • convert

        Event convert​(Event event)
        Converts a given event into a different event, modifying either its type or attached resource.
        Parameters:
        event - the given event.
        Returns:
        a modified event. Can be MULTI_EVENT containing a list of events.
      • convertToList

        List<Event> convertToList​(Event event)
        Converts a given event into a list of events.
        Parameters:
        event - the given event.
        Returns:
        a list of events produced by the event converter. The implementation should ensure that no MULTI_EVENT events are present in the list (MultiEvent resources are "unpacked").