public class DottedChartTimeInterpreter extends java.lang.Object implements CoordinateInterpreter
| Modifier and Type | Class and Description |
|---|---|
static class |
DottedChartTimeInterpreter.Time |
| Modifier and Type | Field and Description |
|---|---|
protected long |
currentEventIndex |
protected long |
currentTraceSize |
protected long |
currentTraceStart |
protected long |
logStart |
protected long |
size |
protected org.deckfour.xes.info.XLogInfo |
summary |
protected static org.deckfour.xes.extension.std.XTimeExtension |
timeext |
protected DottedChartTimeInterpreter.Time |
type |
| Constructor and Description |
|---|
DottedChartTimeInterpreter(org.deckfour.xes.info.XLogInfo summary) |
DottedChartTimeInterpreter(org.deckfour.xes.info.XLogInfo summary,
DottedChartTimeInterpreter.Time type) |
| Modifier and Type | Method and Description |
|---|---|
void |
completeLog()
Trigger on completing the log.
|
void |
completeTrace()
Trigger on completing the trace.
|
protected java.lang.String |
formatDuration(long num) |
java.lang.String |
getLabel(long index)
Get the label for partition 'index' as specified by the user.
|
long |
getLogStart() |
long |
getSize()
Get size of axis.
|
protected long |
getSizeLongestTrace(org.deckfour.xes.model.XLog log) |
long |
getTimeUnit() |
DottedChartTimeInterpreter.Time |
getType() |
long |
interpret(org.deckfour.xes.model.XEvent event)
Interpret coordinate.
|
void |
setTimeUnit(long timeunit) |
void |
setType(DottedChartTimeInterpreter.Time type) |
void |
startLog(org.deckfour.xes.model.XLog log)
Trigger for the start of processing the log.
|
void |
startTrace(org.deckfour.xes.model.XTrace trace)
Trigger for the start of a new trace.
|
void |
updateLogInfo(org.deckfour.xes.info.XLogInfo summary) |
protected static final org.deckfour.xes.extension.std.XTimeExtension timeext
protected org.deckfour.xes.info.XLogInfo summary
protected DottedChartTimeInterpreter.Time type
protected long size
protected long logStart
protected long currentTraceStart
protected long currentTraceSize
protected long currentEventIndex
public DottedChartTimeInterpreter(org.deckfour.xes.info.XLogInfo summary)
public DottedChartTimeInterpreter(org.deckfour.xes.info.XLogInfo summary,
DottedChartTimeInterpreter.Time type)
public void startLog(org.deckfour.xes.model.XLog log)
LogGridInterpreterstartLog in interface LogGridInterpreterlog - The log that will be processed.protected long getSizeLongestTrace(org.deckfour.xes.model.XLog log)
public void startTrace(org.deckfour.xes.model.XTrace trace)
LogGridInterpreterstartTrace in interface LogGridInterpretertrace - The trace.public long interpret(org.deckfour.xes.model.XEvent event)
CoordinateInterpreterinterpret in interface CoordinateInterpreterpublic void completeTrace()
LogGridInterpretercompleteTrace in interface LogGridInterpreterpublic void completeLog()
LogGridInterpretercompleteLog in interface LogGridInterpreterpublic java.lang.String getLabel(long index)
CoordinateInterpretergetLabel in interface CoordinateInterpreterindex - The index of the partition.protected java.lang.String formatDuration(long num)
public long getSize()
CoordinateInterpretergetSize in interface CoordinateInterpreterpublic DottedChartTimeInterpreter.Time getType()
public void setType(DottedChartTimeInterpreter.Time type)
public long getTimeUnit()
public void setTimeUnit(long timeunit)
public void updateLogInfo(org.deckfour.xes.info.XLogInfo summary)
public long getLogStart()