Class Filter

    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name of the filter.
        Returns:
        The name of the filter.
      • getParameters

        public Parameters getParameters()
        Gets the parameters of the filter.
        Returns:
        The parameters of the filter.
      • filter

        public abstract org.deckfour.xes.model.XLog filter()
        Abstract method that filters the log using this filter and these parameters.
        Returns:
        The filtered log.
      • constructWidget

        public abstract void constructWidget()
        Abstract method that constructs a JComponent to enable the user to change the parameters.
      • updated

        public abstract void updated​(Parameter parameter)
        Abstract method that informs the filter that a parameter has been changed.
        Parameters:
        parameter - The parameter that has been changed.
      • isSuitable

        public abstract boolean isSuitable()
      • filter

        public org.deckfour.xes.model.XLog filter​(boolean doTime)
        Filters the log while timing the filtering.
        Parameters:
        doTime - Whether to time the filtering.
        Returns:
        The filtered log.
      • initializeLog

        public org.deckfour.xes.model.XLog initializeLog​(org.deckfour.xes.model.XLog log)
        Creates a copy of the provided log without any traces and/or events.
        Parameters:
        log - The log to copy.
        Returns:
        The copied log.
      • getLog

        public org.deckfour.xes.model.XLog getLog()
        Gets the log that is to be filtered.
        Returns:
        The log to be filtered.
      • setLog

        public void setLog​(org.deckfour.xes.model.XLog log)
        Sets the log that is to be filtered.
        Parameters:
        log - The log to be filtered.
      • getWidget

        public javax.swing.JComponent getWidget()
        Gets the widget to change the parameters.
        Returns:
        The widget to change the parameters.
      • setWidget

        public void setWidget​(javax.swing.JComponent widget)
        Sets the widget to change the parameters.
        Parameters:
        widget - The widget to change the parameters.
      • compareTo

        public int compareTo​(Filter o)
        Specified by:
        compareTo in interface java.lang.Comparable<Filter>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getFactory

        public org.deckfour.xes.factory.XFactory getFactory()
      • updateParameters

        public abstract void updateParameters()
      • update

        public void update()
      • setSelected

        public void setSelected​(Filter filter)
      • hasGlobalEventAttributes

        public boolean hasGlobalEventAttributes()
      • hasGlobalTraceAttributes

        public boolean hasGlobalTraceAttributes()
      • hasClassifiers

        public boolean hasClassifiers()
      • hasEvents

        public boolean hasEvents()
      • hasTraces

        public boolean hasTraces()
      • hasTraceAttributes

        public boolean hasTraceAttributes()
      • hasTimeExtension

        public boolean hasTimeExtension()
      • hasGlobalTimestamp

        public boolean hasGlobalTimestamp()
      • hasConceptExtension

        public boolean hasConceptExtension​(org.deckfour.xes.model.XLog log)
      • hasGlobalConceptName

        public boolean hasGlobalConceptName​(java.util.Collection<org.deckfour.xes.model.XAttribute> globalAttributes)
      • getDummyAttribute

        public org.deckfour.xes.model.XAttribute getDummyAttribute()
      • getDummyClassifier

        public org.deckfour.xes.classification.XEventClassifier getDummyClassifier()