|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.plugins.log.logfilters.LogFilter
public class LogFilter
Class containing some static methods that are easy to use when implementing a new filter on a log.
Constructor Summary | |
---|---|
LogFilter()
|
Method Summary | |
---|---|
static org.deckfour.xes.model.XLog |
filter(org.processmining.framework.plugin.Progress progress,
int steps,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.info.XLogInfo summary,
XEventCondition eventCondition)
This method filters a log by removing XEvent objects from all XTrace object in the given XLog, if the given XEventCondition returns false. |
static org.deckfour.xes.model.XLog |
filter(org.processmining.framework.plugin.Progress progress,
int steps,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.info.XLogInfo summary,
XEventCondition eventCondition,
XTraceCondition traceCondition)
This method filters a log by removing XEvent objects from all XTrace object in the given XLog, if the given XEventCondition returns false. |
static org.deckfour.xes.model.XLog |
filter(org.processmining.framework.plugin.Progress progress,
int steps,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.info.XLogInfo summary,
XEventEditor eventEditor)
This method filters a log by editing the XEvent objects from all XTrace object in the given XLog. |
static org.deckfour.xes.model.XLog |
filter(org.processmining.framework.plugin.Progress progress,
int steps,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.info.XLogInfo summary,
XEventEditor eventEditor,
XTraceEditor traceEditor)
This method filters a log by editing the XEvent objects from all XTrace object in the given XLog. |
static org.deckfour.xes.model.XLog |
filter(org.processmining.framework.plugin.Progress progress,
int steps,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.info.XLogInfo summary,
XTraceCondition traceCondition)
This method filters a log by checking the given XTrace condition on each trance. |
static org.deckfour.xes.model.XLog |
filter(org.processmining.framework.plugin.Progress progress,
int steps,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.info.XLogInfo summary,
XTraceEditor traceEditor)
This method filters a log by editing all XTrace objects in the given XLog. |
static org.deckfour.xes.model.XLog |
filter(org.deckfour.xes.model.XLog log,
XEventCondition eventCondition)
This method filters a log by removing XEvent objects from all XTrace object in the given XLog, if the given XEventCondition returns false. |
static org.deckfour.xes.model.XLog |
filter(org.deckfour.xes.model.XLog log,
XEventCondition eventCondition,
XTraceCondition traceCondition)
This method filters a log by removing XEvent objects from all XTrace object in the given XLog, if the given XEventCondition returns false. |
static org.deckfour.xes.model.XLog |
filter(org.deckfour.xes.model.XLog log,
XEventEditor eventEditor)
This method filters a log by editing the XEvent objects from all XTrace object in the given XLog. |
static org.deckfour.xes.model.XLog |
filter(org.deckfour.xes.model.XLog log,
XEventEditor eventEditor,
XTraceEditor traceEditor)
This method filters a log by editing the XEvent objects from all XTrace object in the given XLog. |
static org.deckfour.xes.model.XLog |
filter(org.deckfour.xes.model.XLog log,
XTraceCondition traceCondition)
This method filters a log by checking the given XTrace condition on each trance. |
static org.deckfour.xes.model.XLog |
filter(org.deckfour.xes.model.XLog log,
XTraceEditor traceEditor)
This method filters a log by editing all XTrace objects in the given XLog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogFilter()
Method Detail |
---|
public static org.deckfour.xes.model.XLog filter(org.deckfour.xes.model.XLog log, XEventCondition eventCondition, XTraceCondition traceCondition)
log
- The log that needs to be filtered.eventCondition
- The condition that is checked for all events in the log.traceCondition
- The condition that is checked for all traces in the log. Note
that on each trace, the eventCondition is first checked on all
events, and then the trace condition is checked on the
filtered trace.
public static org.deckfour.xes.model.XLog filter(org.processmining.framework.plugin.Progress progress, int steps, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary, XEventCondition eventCondition, XTraceCondition traceCondition)
progress
- A Progress object which is used for showing progress. steps
steps are added to the maximum and progress is increased in
steps steps. May be null.steps
- The number of steps in which progress is provided. Should be >
0log
- The log that needs to be filtered.summary
- The summary of the log. Is used to determine the number of
events in the log. If null, it will be constructed if progress
is not null.eventCondition
- The condition that is checked for all events in the log.traceCondition
- The condition that is checked for all traces in the log. Note
that on each trace, the eventCondition is first checked on all
events, and then the trace condition is checked on the
filtered trace.
public static org.deckfour.xes.model.XLog filter(org.deckfour.xes.model.XLog log, XTraceCondition traceCondition)
log
- The log that needs to be filtered.traceCondition
- The condition that is checked for all traces in the log. Note
that on each trace, the eventCondition is first checked on all
events, and then the trace condition is checked on the
filtered trace.
public static org.deckfour.xes.model.XLog filter(org.processmining.framework.plugin.Progress progress, int steps, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary, XTraceCondition traceCondition)
progress
- A Progress object which is used for showing progress. steps
steps are added to the maximum and progress is increased in
steps steps. May be null.steps
- The number of steps in which progress is provided. Should be >
0log
- The log that needs to be filtered.summary
- The summary of the log. Is used to determine the number of
events in the log. If null, it will be constructed if progress
is not null.traceCondition
- The condition that is checked for all traces in the log. Note
that on each trace, the eventCondition is first checked on all
events, and then the trace condition is checked on the
filtered trace.
public static org.deckfour.xes.model.XLog filter(org.deckfour.xes.model.XLog log, XEventCondition eventCondition)
log
- The log that needs to be filtered.eventCondition
- The condition that is checked for all events in the log.
public static org.deckfour.xes.model.XLog filter(org.processmining.framework.plugin.Progress progress, int steps, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary, XEventCondition eventCondition)
progress
- A Progress object which is used for showing progress. steps
steps are added to the maximum and progress is increased in
steps steps. May be null.steps
- The number of steps in which progress is provided. Should be >
0log
- The log that needs to be filtered.summary
- The summary of the log. Is used to determine the number of
events in the log. If null, it will be constructed if progress
is not null.eventCondition
- The condition that is checked for all events in the log.
public static org.deckfour.xes.model.XLog filter(org.deckfour.xes.model.XLog log, XEventEditor eventEditor, XTraceEditor traceEditor) throws LogFilterException
log
- The log that needs to be filtered.eventEditor
- The editor that is applied to all XEvents in the logtraceEditor
- The editor that is applied to each trace. Note that first all
events are edited and that the trace editor is then applied to
the filtered trace, if it is not empty.
LogFilterException
public static org.deckfour.xes.model.XLog filter(org.processmining.framework.plugin.Progress progress, int steps, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary, XEventEditor eventEditor, XTraceEditor traceEditor) throws LogFilterException
progress
- A Progress object which is used for showing progress. steps
steps are added to the maximum and progress is increased in
steps steps. May be null.steps
- The number of steps in which progress is provided. Should be >
0log
- The log that needs to be filtered.summary
- The summary of the log. Is used to determine the number of
events in the log. If null, it will be constructed if progress
is not null.eventEditor
- The editor that is applied to all XEvents in the logtraceEditor
- The editor that is applied to each trace. Note that first all
events are edited and that the trace editor is then applied to
the filtered trace, if it is not empty.
LogFilterException
- if an XTraceEditor returns a new trace.public static org.deckfour.xes.model.XLog filter(org.deckfour.xes.model.XLog log, XTraceEditor traceEditor) throws LogFilterException
log
- The log that needs to be filtered.traceEditor
- The editor that is applied to each trace.
LogFilterException
public static org.deckfour.xes.model.XLog filter(org.processmining.framework.plugin.Progress progress, int steps, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary, XTraceEditor traceEditor) throws LogFilterException
progress
- A Progress object which is used for showing progress. steps
steps are added to the maximum and progress is increased in
steps steps. May be null.steps
- The number of steps in which progress is provided. Should be >
0log
- The log that needs to be filtered.summary
- The summary of the log. Is used to determine the number of
events in the log. If null, it will be constructed if progress
is not null.traceEditor
- The editor that is applied to each trace.
LogFilterException
public static org.deckfour.xes.model.XLog filter(org.deckfour.xes.model.XLog log, XEventEditor eventEditor) throws LogFilterException
log
- The log that needs to be filtered.eventEditor
- The editor that is applied to all XEvents in the log
LogFilterException
public static org.deckfour.xes.model.XLog filter(org.processmining.framework.plugin.Progress progress, int steps, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary, XEventEditor eventEditor) throws LogFilterException
progress
- A Progress object which is used for showing progress. steps
steps are added to the maximum and progress is increased in
steps steps. May be null.steps
- The number of steps in which progress is provided. Should be >
0log
- The log that needs to be filtered.summary
- The summary of the log. Is used to determine the number of
events in the log. If null, it will be constructed if progress
is not null.eventEditor
- The editor that is applied to all XEvents in the log
LogFilterException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |