|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.log.rfb.LogSummaryFormatter
public class LogSummaryFormatter
This class provides static methods for extracting an HTML-formatted summary from the information contained in a LogSummary instance.
Field Summary | |
---|---|
protected static java.lang.String |
FONT_CODE
|
protected static java.lang.String |
FONT_HEADING
|
protected static java.lang.String |
FONT_TEXT
|
protected static java.text.NumberFormat |
numberFormat
|
protected static java.lang.String |
PART_START
|
protected static java.lang.String |
PART_STOP
|
protected static java.lang.String |
TABLE
|
protected static java.lang.String |
TD
|
protected static java.lang.String |
TR
|
Constructor Summary | |
---|---|
LogSummaryFormatter()
|
Method Summary | |
---|---|
protected static java.lang.String |
encodeInfoItem(InfoItem item)
Formats an info item; internal helper method. |
protected static java.lang.String |
encodeLogEvents(LogSummary summary)
Formats a set of log events, including their sorting by occurrence count and calculation of occurrence percentages (based on the total number of audit trail entries in a log file).; internal helper method. |
protected static java.lang.String |
encodeOriginators(LogSummary summary)
Formats a set of originators, including their sorting by occurrence count and calculation of occurrence percentages (based on the total number of audit trail entries in a log file).; internal helper method. |
protected static java.lang.String |
encodeProcessInstances(LogSummary summary)
Formats a set of process instances, including their sorting by occurrence count and calculation of occurrence percentages (based on the total number of process instances in a log file).; internal helper method. |
protected static java.lang.String |
encodeStartingEndingLogEvents(java.util.Map<LogEvent,java.lang.Integer> mappingStartingEndingLogEventsToFrequencies,
int totalNumberProcessInstances)
Formats a set of starting/ending log events, including their sorting by occurrence count and calculation of occurrence percentages (based on the total number of audit trail entries in a log file).; internal helper method. |
static java.lang.String |
format(LogSummary summary)
Formats information contained in a LogSummary in HTML string format. |
protected static java.lang.String |
getOccurrencePercentage(double occurrence,
double total)
Extracts the percentage of an occurrence and formats it as string |
protected static java.lang.String |
heading(java.lang.String heading)
Formats a heading; internal helper method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.text.NumberFormat numberFormat
protected static final java.lang.String FONT_TEXT
protected static final java.lang.String FONT_CODE
protected static final java.lang.String FONT_HEADING
protected static final java.lang.String TABLE
protected static final java.lang.String TD
protected static final java.lang.String TR
protected static final java.lang.String PART_START
protected static final java.lang.String PART_STOP
Constructor Detail |
---|
public LogSummaryFormatter()
Method Detail |
---|
public static java.lang.String format(LogSummary summary)
summary
- the LogSummary to extract information from
protected static java.lang.String heading(java.lang.String heading)
heading
- headline to be formatted
protected static java.lang.String encodeInfoItem(InfoItem item)
item
- info item to be formatted
protected static java.lang.String encodeLogEvents(LogSummary summary)
summary
- The log summary from which the set of log events should be
formatted
protected static java.lang.String encodeOriginators(LogSummary summary)
summary
- The log summary from which the set of log events should be
formatted
protected static java.lang.String encodeStartingEndingLogEvents(java.util.Map<LogEvent,java.lang.Integer> mappingStartingEndingLogEventsToFrequencies, int totalNumberProcessInstances)
mappingStartingEndingLogEventsToFrequencies
- HashMap containing the map between the starting/ending
events and their occurrences as starting/ending events in the process instances in the logtotalNumberProcessInstances
- int containing the total number of process instances in the log
protected static java.lang.String encodeProcessInstances(LogSummary summary)
summary
- The log summary from which the set of process intances should be
formatted
protected static java.lang.String getOccurrencePercentage(double occurrence, double total)
occurrence
- number to calculate percentage occurrence fromtotal
- total number of occurrences in the log
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |