|
||||||||||
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.ObfuscationFilter
public class ObfuscationFilter
This Logfilter obfuscates the Model element names of the audit trail entries
in the log. The generated names will be of the same character length as the
original names, and the same character set will be used for the generation
of the new names.
It is therefore not a very secure obfuscation method, but comes in handy
if task names that are unreadable anyway needs to be scrambled because of
non-disclosure agreements in the context of a paper.
Field Summary |
---|
Fields inherited from class org.processmining.framework.log.LogFilter |
---|
FAST, filter, load, MODERATE, SLOW |
Constructor Summary | |
---|---|
ObfuscationFilter()
Instantiates a LogFilter with a pointer to the lower level filter. |
Method Summary | |
---|---|
protected boolean |
doFiltering(ProcessInstance instance)
Filters a single process instance. |
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. |
protected void |
readSpecificXML(org.w3c.dom.Node logFilterSpecifcNode)
Read the inside of the |
boolean |
thisFilterChangesLog()
Method to tell whether this LogFilter changes the log or not. |
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 |
Constructor Detail |
---|
public ObfuscationFilter()
filter(ProcessInstance pi)
method should
first call filter.filter(pi)
. If that returns false, no
further filtering is necessary.
lowLevelFilter
- the filter that should be checked first, to see
if the instance can be discared anyway. Note that this filter can be null.Method Detail |
---|
protected java.lang.String getHelpForThisLogFilter()
LogFilter
getHelpForThisLogFilter
in class LogFilter
public boolean thisFilterChangesLog()
thisFilterChangesLog
in class LogFilter
filter()
method. False otherwise.protected boolean doFiltering(ProcessInstance instance)
doFiltering
in class LogFilter
instance
- the process instance to filter
public LogFilterParameterDialog getParameterDialog(LogSummary summary)
getParameterDialog
in class LogFilter
summary
- A LogSummary to be used for setting parameters.
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 |