org.processmining.framework.log.filter
Class LogEventLogFilterEnh

java.lang.Object
  extended by org.processmining.framework.log.LogFilter
      extended by org.processmining.framework.log.filter.LogEventLogFilter
          extended by org.processmining.framework.log.filter.LogEventLogFilterEnh

public class LogEventLogFilterEnh
extends LogEventLogFilter

This logFilter filters the log based on the modelelements of audittrailentries. Furthermore, it is possible to filter for tasks of which the frequency (in percentages) in the log is less than a given percentage and you can filter for tasks for which the freqency (in percentages) of in how many different process instances they occur is less than a given percentage.

Version:
1.0
Author:
Ronny Mans

Nested Class Summary
 class LogEventLogFilterEnh.LogEventCheckBoxEnh
          A standard CheckBox for which the text is according to a fixed format.
 class LogEventLogFilterEnh.SpringUtilities
          A 1.4 file that provides utility methods for creating form- or grid-style layouts with SpringLayout.
 
Field Summary
 
Fields inherited from class org.processmining.framework.log.filter.LogEventLogFilter
eventsToKeep
 
Fields inherited from class org.processmining.framework.log.LogFilter
FAST, filter, load, MODERATE, SLOW
 
Constructor Summary
LogEventLogFilterEnh()
          Default constructor.
LogEventLogFilterEnh(LogEvents eventsToKeep)
          Constructor.
LogEventLogFilterEnh(LogEvents eventsToKeep, double percTask, double percPI)
          Constructor.
LogEventLogFilterEnh(LogEvents eventsToKeep, double percTask, double percPI, java.lang.String selectedItemComboBox)
           
 
Method Summary
protected  java.lang.String getHelpForThisLogFilter()
          Returns the help for this LogFilter as HTML text.
 LogFilterParameterDialog getParameterDialog(LogSummary summary)
          Returns a Panel for the setting of parameters.
protected  void readSpecificXML(org.w3c.dom.Node logFilterSpecifcNode)
          Read the inside of the tag in the XML export file from the InputStream input.
protected  void writeSpecificXML(java.io.BufferedWriter output)
          Write the inside of the tag in the XML export file to the OutputStream output.
 
Methods inherited from class org.processmining.framework.log.filter.LogEventLogFilter
acceptsAll, addLogEvent, doFiltering, removeLogEvent, thisFilterChangesLog
 
Methods inherited from class org.processmining.framework.log.LogFilter
changesLog, filter, getComplexity, getComplexityAsString, getFilter, getHelp, getName, getThisLogFilterComplexity, readXML, setLowLevelFilter, setName, toString, writeXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogEventLogFilterEnh

public LogEventLogFilterEnh()
Default constructor.


LogEventLogFilterEnh

public LogEventLogFilterEnh(LogEvents eventsToKeep)
Constructor. The logevents that have to be kept after filtering can be provided.

Parameters:
eventsToKeep - LogEvents the logevents that have to be kept after filtering.

LogEventLogFilterEnh

public LogEventLogFilterEnh(LogEvents eventsToKeep,
                            double percTask,
                            double percPI)
Constructor. The events that have to be kept after filtering can be provided. Also, the percentage values for filtering for tasks of which the frequency is less than a given percentage and for filtering for tasks for which the freqency (in percentages) of in how many different process instances they occur is less than a given percentage can be provided.

Parameters:
eventsToKeep - LogEvents the logevents that have to be kept after filtering.
percTask - double the percentage for filtering for tasks of which the frequency is less than a given percentage
percPI - double the percentage for filtering for tasks of which the frequency in how many many different process instances they occur is less than a given percentage

LogEventLogFilterEnh

public LogEventLogFilterEnh(LogEvents eventsToKeep,
                            double percTask,
                            double percPI,
                            java.lang.String selectedItemComboBox)
Method Detail

getHelpForThisLogFilter

protected java.lang.String getHelpForThisLogFilter()
Returns the help for this LogFilter as HTML text.

Overrides:
getHelpForThisLogFilter in class LogEventLogFilter
Returns:
the help as string.

getParameterDialog

public LogFilterParameterDialog getParameterDialog(LogSummary summary)
Returns a Panel for the setting of parameters. When a LogFilter can be added to a list in the framework. This panel is shown, and parameters can be set. When the dialog is closed, a new instance of a LogFilter is created by the framework by calling the getNewLogFilter method of the dialog.

Overrides:
getParameterDialog in class LogEventLogFilter
Parameters:
summary - A LogSummary to be used for setting parameters.
Returns:
JPanel

writeSpecificXML

protected void writeSpecificXML(java.io.BufferedWriter output)
                         throws java.io.IOException
Write the inside of the tag in the XML export file to the OutputStream output.

Overrides:
writeSpecificXML in class LogEventLogFilter
Parameters:
output - OutputStream
Throws:
java.io.IOException

readSpecificXML

protected void readSpecificXML(org.w3c.dom.Node logFilterSpecifcNode)
                        throws java.io.IOException
Read the inside of the tag in the XML export file from the InputStream input.

Overrides:
readSpecificXML in class LogEventLogFilter
Parameters:
input - InputStream
Throws:
java.io.IOException