Class TraceLengthFilter

  • All Implemented Interfaces:
    java.lang.Comparable<Filter>

    public class TraceLengthFilter
    extends Filter
    • Field Detail

      • NAME

        public static final java.lang.String NAME
        The name of this filter.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TraceLengthFilter

        public TraceLengthFilter​(org.deckfour.xes.model.XLog log,
                                 Parameters parameters,
                                 ComputationCell cell)
      • TraceLengthFilter

        public TraceLengthFilter​(java.lang.String name,
                                 org.deckfour.xes.model.XLog log,
                                 Parameters parameters,
                                 ComputationCell cell)
    • Method Detail

      • isSuitable

        public boolean isSuitable()
        This filter is suitable if the log contains at least one trace.
        Specified by:
        isSuitable in class Filter
      • filter

        public org.deckfour.xes.model.XLog filter()
        Filter the set log on the start events using the set parameters.
        Specified by:
        filter in class Filter
        Returns:
        The filtered log.
      • constructWidget

        public void constructWidget()
        Construct a widget for changing the required parameters.
        Specified by:
        constructWidget in class Filter
      • updated

        public void updated​(Parameter parameter)
        Handle if a parameter values was changed.
        Specified by:
        updated in class Filter
        Parameters:
        parameter - The parameter that has been changed.
      • updateParameters

        public void updateParameters()
        Update the filter parameters.
        Specified by:
        updateParameters in class Filter