apply
protected org.deckfour.xes.model.XLog apply(org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog eventlog,
AddArtifactLifecycleInformationParameters parameters)
Runs through the event log and for each event, creates an object
lifecycle moves attribute using the object lifecycle XES extension. For
each event, a single entry is created using the activity instance,
lifecycle model (obtained from log level attribute), and transition
information, obtained from the concept and (default) lifecycle
extensions. Note that if no log-level lifecycle model attribute or
event-level model attribute is present, nothing is done. Also, the
lifecycle event attribute does not need to be global, as there may be
events that do not affect a lifecycle.
- Parameters:
context - The plugin context.
eventlog - The event log.
- Returns:
- The event log with object-centric lifecycle information.