@Role
public interface RecordableEventConverter
RecordableEvent
to an Event
that could be stored in the event stream.Modifier and Type | Method and Description |
---|---|
Event |
convert(RecordableEvent recordableEvent,
String source,
Object data)
Convert a notification event to a stream event.
|
List<RecordableEvent> |
getSupportedEvents() |
Event convert(RecordableEvent recordableEvent, String source, Object data) throws Exception
recordableEvent
- the event to convertsource
- the source received with the eventdata
- the data received with the eventException
- if error happensList<RecordableEvent> getSupportedEvents()
Copyright © 2004–2021 XWiki. All rights reserved.