org.processmining.plugins.log.logfilters
Interface XEventEditor


public interface XEventEditor

Interface used for easy filtering of XLog object. Used by LogFilter.

Author:
bfvdonge

Method Summary
 org.deckfour.xes.model.XEvent editEvent(org.deckfour.xes.model.XEvent event)
          When filtering, this method is called for each XEvent in the log.
 

Method Detail

editEvent

org.deckfour.xes.model.XEvent editEvent(org.deckfour.xes.model.XEvent event)
When filtering, this method is called for each XEvent in the log. The event can be edited, or a new one can be returned. If null is returned, the calling filter will remove the event from the log. If a new XEvent object is returned, the called filter will replace the old event with the new event.

Parameters:
event - The event that is currently being considered by the calling filter.
Returns:
The edited event. If null is returned, then the event is removed. If a new XEvent object is returned, the event is replaced.