Interface XEventCondition


  • public interface XEventCondition
    Interface 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
      boolean keepEvent​(org.deckfour.xes.model.XEvent event)
      When filtering, this method is called for each XEvent in the log.
    • Method Detail

      • keepEvent

        boolean keepEvent​(org.deckfour.xes.model.XEvent event)
        When filtering, this method is called for each XEvent in the log. The event should not be edited (use the XEventEditor for that). Instead, this method should test whether the event should be kept by a given filter or not.
        Parameters:
        event - The event that is currently being considered by the calling filter.
        Returns:
        true if the event should be kept, false if the given event should be removed.