Interface XTraceCondition
-
public interface XTraceConditionInterface used for easy filtering of XLog object. Used by LogFilter.- Author:
- bfvdonge
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleankeepTrace(org.deckfour.xes.model.XTrace trace)When filtering, this method is called for each XTrace in the log.
-
-
-
Method Detail
-
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.
-
-