use of org.xwiki.eventstream.UntypedRecordableEvent in project xwiki-platform by xwiki.
the class DefaultUntypedRecordableEventConverter method convert.
@Override
public Event convert(RecordableEvent recordableEvent, String source, Object data) throws Exception {
Event convertedEvent = super.convert(recordableEvent, source, data);
convertedEvent.setType(((UntypedRecordableEvent) recordableEvent).getEventType());
return convertedEvent;
}
Aggregations