Interface XFLog

  • All Superinterfaces:
    java.lang.Cloneable, java.util.Collection<org.deckfour.xes.model.XTrace>, java.lang.Iterable<org.deckfour.xes.model.XTrace>, java.util.List<org.deckfour.xes.model.XTrace>, org.deckfour.xes.model.XAttributable, org.deckfour.xes.model.XElement, org.deckfour.xes.model.XLog
    All Known Implementing Classes:
    XFLogImpl

    public interface XFLog
    extends org.deckfour.xes.model.XLog
    An XFLog is a "Filtered" XLog. It behaves like an XLog, though using some source log, it can apply various filtering capabilities. An XFLog can apply a "trace filter" on each trace and a "log attribute filter" on it's own attributes.
    Author:
    M.L. van Eck, S.J. van Zelst
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.deckfour.xes.model.XLog getSource()
      What log is this filtered log based upon?
      void setLogAttributeFilter​(Filter<org.deckfour.xes.model.XAttributeMap> filter)
      Set the "log attribute filter" of this log.
      void setSource​(org.deckfour.xes.model.XLog log)
      Set the source of this filtered log.
      void setTraceFilter​(Filter<org.deckfour.xes.model.XTrace> filter)
      Set the "trace filter" of this log.
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
      • Methods inherited from interface org.deckfour.xes.model.XAttributable

        getAttributes, getExtensions, hasAttributes, setAttributes
      • Methods inherited from interface org.deckfour.xes.model.XElement

        clone
      • Methods inherited from interface org.deckfour.xes.model.XLog

        accept, getClassifiers, getGlobalEventAttributes, getGlobalTraceAttributes, getInfo, setInfo
    • Method Detail

      • getSource

        org.deckfour.xes.model.XLog getSource()
        What log is this filtered log based upon?
        Returns:
        pointer to current source.
      • setSource

        void setSource​(org.deckfour.xes.model.XLog log)
        Set the source of this filtered log. Setting the source can invoke a re-evaluation of the internal apply(s).
        Parameters:
        log - pointer to new source.
      • setTraceFilter

        void setTraceFilter​(Filter<org.deckfour.xes.model.XTrace> filter)
        Set the "trace filter" of this log. The trace filter will be applied on each trace upon trace request (lazy evaluation).
        Parameters:
        filter - to apply on traces in the log.
      • setLogAttributeFilter

        void setLogAttributeFilter​(Filter<org.deckfour.xes.model.XAttributeMap> filter)
        Set the "log attribute filter" of this log. The filter will be applied on the log's attribute upon attribute request (lazy evaluation).
        Parameters:
        filter - to apply on log's attributes.