org.processmining.plugins.log.logfilters
Interface XTraceEditor


public interface XTraceEditor

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

Author:
bfvdonge

Method Summary
 org.deckfour.xes.model.XTrace editTrace(org.deckfour.xes.model.XTrace trace)
          When filtering, this method is called for each XTrace in the log.
 

Method Detail

editTrace

org.deckfour.xes.model.XTrace editTrace(org.deckfour.xes.model.XTrace trace)
When filtering, this method is called for each XTrace in the log. The trace can be edited, or a new one can be returned. If null is returned, or an empty trace is returned, the calling filter will remove the trace from the log. No new XTrace objects should be returned.

Parameters:
trace - The trace that is currently being considered by the calling filter. Note that it can be assumed that trace.isEmpty()==false
Returns:
The edited trace. If null, or an empty trace is returned, then the trace is removed. No new trace objects should be returned.