org.processmining.plugins.log.logfilters
Interface XTraceCondition
public interface XTraceCondition
Interface used for easy filtering of XLog object. Used by LogFilter.
- Author:
- bfvdonge
Method Summary |
boolean |
keepTrace(org.deckfour.xes.model.XTrace trace)
When filtering, this method is called for each XTrace in the log. |
keepTrace
boolean keepTrace(org.deckfour.xes.model.XTrace trace)
- When filtering, this method is called for each XTrace in the log. The
trace should not be edited (use the XTraceEditor for that). Instead, this
method should test whether the trace should be kept by a given filter or
not.
- Parameters:
trace
- The trace that is currently being considered by the calling
filter. Note that it can be assumed that
trace.isEmpty()==false
- Returns:
- true if the trace should be kept, false if the given trace should
be removed.