Class TabularResultAggregator
- java.lang.Object
-
- org.camunda.bpm.qa.performance.engine.framework.aggregate.TabularResultAggregator
-
- Direct Known Subclasses:
ActivityCountAggregator
,BenchmarkAggregator
,BenchmarkLongtermAggregator
,SqlStatementCountAggregator
,SqlStatementCountAggregator
public abstract class TabularResultAggregator extends java.lang.Object
A result aggregator is used to aggregate the results of a performance testsuite run as a table. The aggegator needs to be pointed to a directory containing the result files. It will read the result file by file and delegate the actual processing to a subclass implementation of this class.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.File
resultDirectory
-
Constructor Summary
Constructors Constructor Description TabularResultAggregator(java.lang.String resultsFolderPath)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract TabularResultSet
createAggregatedResultsInstance()
TabularResultSet
execute()
protected void
postProcessResultSet(TabularResultSet tabularResultSet)
protected void
processFile(java.io.File resultFile, TabularResultSet tabularResultSet)
protected abstract void
processResults(PerfTestResults results, TabularResultSet tabularResultSet)
TabularResultAggregator
sortResults(boolean isSortingEnabled)
-
-
-
Method Detail
-
sortResults
public TabularResultAggregator sortResults(boolean isSortingEnabled)
-
execute
public TabularResultSet execute()
-
postProcessResultSet
protected void postProcessResultSet(TabularResultSet tabularResultSet)
-
processFile
protected void processFile(java.io.File resultFile, TabularResultSet tabularResultSet)
-
createAggregatedResultsInstance
protected abstract TabularResultSet createAggregatedResultsInstance()
-
processResults
protected abstract void processResults(PerfTestResults results, TabularResultSet tabularResultSet)
-
-