|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.log.LogFilter
org.processmining.framework.log.filter.DefaultLogFilter
public class DefaultLogFilter
This logFilter filters the log based on the event types of audittrailentries. The following options are available: 1) INCLUDE: Include all AuditTrailEntries 2) DISCARD: Ignore the AuditTrailEntry, but not the ProcessInstance 3) DISCARD_INSTANCE: Ignore the whole ProcessInstance if a certain LogEvent is found. During construction, a default behaviour can be given. Then afterwards, using the method filterEventType(), specific events can be filtered. ProcessInstances are also ignored if their getProcess does not equal the process set by setProcess in this filter. ProcessInstances are ignored if they turn out to be empty after filtering.
Field Summary | |
---|---|
static int |
DISCARD
|
static int |
DISCARD_INSTANCE
|
static int |
INCLUDE
|
Fields inherited from class org.processmining.framework.log.LogFilter |
---|
FAST, filter, load, MODERATE, SLOW |
Constructor Summary | |
---|---|
DefaultLogFilter()
|
|
DefaultLogFilter(int defaultBehavior)
|
Method Summary | |
---|---|
protected boolean |
doFiltering(ProcessInstance instance)
Filters a single process instance. |
void |
filterEventType(java.lang.String type,
int action)
|
protected java.lang.String |
getHelpForThisLogFilter()
Returns the help for this LogFilter as HTML text, but without the and tags! |
LogFilterParameterDialog |
getParameterDialog(LogSummary summary)
Returns a Panel for the setting of parameters. |
java.lang.String |
getProcess()
|
protected void |
readSpecificXML(org.w3c.dom.Node logFilterSpecifcNode)
Read the inside of the |
void |
setProcess(java.lang.String name)
|
boolean |
thisFilterChangesLog()
The log is changes, since events are removed that do not refer to specific events types. |
protected void |
writeSpecificXML(java.io.BufferedWriter output)
Write the inside of the |
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 |
Field Detail |
---|
public static final int INCLUDE
public static final int DISCARD
public static final int DISCARD_INSTANCE
Constructor Detail |
---|
public DefaultLogFilter()
public DefaultLogFilter(int defaultBehavior)
Method Detail |
---|
public void filterEventType(java.lang.String type, int action)
public void setProcess(java.lang.String name)
public java.lang.String getProcess()
protected boolean doFiltering(ProcessInstance instance)
LogFilter
doFiltering
in class LogFilter
instance
- the process instance to filter
public boolean thisFilterChangesLog()
thisFilterChangesLog
in class LogFilter
public LogFilterParameterDialog getParameterDialog(LogSummary summary)
LogFilter
getNewLogFilter
method
of the dialog.
getParameterDialog
in class LogFilter
summary
- A LogSummary to be used for setting parameters.
protected java.lang.String getHelpForThisLogFilter()
LogFilter
getHelpForThisLogFilter
in class LogFilter
protected void writeSpecificXML(java.io.BufferedWriter output) throws java.io.IOException
writeSpecificXML
in class LogFilter
output
- OutputStream
java.io.IOException
protected void readSpecificXML(org.w3c.dom.Node logFilterSpecifcNode) throws java.io.IOException
readSpecificXML
in class LogFilter
input
- InputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |