Package org.processmining.log.repair
Class RepairAttributeDataType
- java.lang.Object
-
- org.processmining.log.repair.RepairAttributeDataType
-
public final class RepairAttributeDataType extends java.lang.ObjectTries to automatically guess the data type of all XES attributes and updates the log accordingly.PLEASE NOTE: This filter will update the original XLog instead of creating a new XLog, to be able to process huge logs without exhausting the available memory.
- Author:
- F. Mannhardt
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRepairAttributeDataType.ReviewCallback
-
Constructor Summary
Constructors Constructor Description RepairAttributeDataType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoRepairEventAttributes(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.lang.Iterable<? extends java.text.DateFormat> dateFormats)voiddoRepairEventAttributes(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.lang.Iterable<? extends java.text.DateFormat> dateFormats, RepairAttributeDataType.ReviewCallback reviewCallback)voiddoRepairTraceAttributes(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.lang.Iterable<? extends java.text.DateFormat> dateFormats)voiddoRepairTraceAttributes(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.lang.Iterable<? extends java.text.DateFormat> dateFormats, RepairAttributeDataType.ReviewCallback reviewCallback)static java.util.Map<java.lang.String,java.lang.Class<? extends org.deckfour.xes.model.XAttribute>>queryCustomDataTypes(org.processmining.contexts.uitopia.UIPluginContext context, java.util.Map<java.lang.String,java.lang.Class<? extends org.deckfour.xes.model.XAttribute>> attributeDataType)static java.lang.Iterable<? extends java.text.DateFormat>queryDateFormats(org.processmining.contexts.uitopia.UIPluginContext context)Shows a wizard that allows the user to specify an additional custom date format.
-
-
-
Method Detail
-
doRepairEventAttributes
public void doRepairEventAttributes(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.lang.Iterable<? extends java.text.DateFormat> dateFormats)
-
doRepairEventAttributes
public void doRepairEventAttributes(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.lang.Iterable<? extends java.text.DateFormat> dateFormats, RepairAttributeDataType.ReviewCallback reviewCallback)
-
doRepairTraceAttributes
public void doRepairTraceAttributes(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.lang.Iterable<? extends java.text.DateFormat> dateFormats)
-
doRepairTraceAttributes
public void doRepairTraceAttributes(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.lang.Iterable<? extends java.text.DateFormat> dateFormats, RepairAttributeDataType.ReviewCallback reviewCallback)
-
queryDateFormats
public static java.lang.Iterable<? extends java.text.DateFormat> queryDateFormats(org.processmining.contexts.uitopia.UIPluginContext context)
Shows a wizard that allows the user to specify an additional custom date format.- Parameters:
context-- Returns:
- a set of DateFormats including the user specified format
-
queryCustomDataTypes
public static java.util.Map<java.lang.String,java.lang.Class<? extends org.deckfour.xes.model.XAttribute>> queryCustomDataTypes(org.processmining.contexts.uitopia.UIPluginContext context, java.util.Map<java.lang.String,java.lang.Class<? extends org.deckfour.xes.model.XAttribute>> attributeDataType)- Parameters:
context-attributeDataType-- Returns:
-
-