public class C3ChartHelper extends Object
Constructor and Description |
---|
C3ChartHelper(ChartDestination chartDestination)
Creates a new helper for the given ChartDestination.
|
Modifier and Type | Method and Description |
---|---|
void |
appendResult(Measurement measurement)
Appends the results in the current Measurement to the main chart.
|
void |
close()
Closes the data files.
|
void |
compileResults(boolean autoCombine)
Creates the final result report compiling all the previous charts together.
|
boolean |
isInitialized()
Is the helper properly initialized?
|
public C3ChartHelper(ChartDestination chartDestination)
chartDestination
- The ChartDestination this helper is supposed to serve to.public void appendResult(Measurement measurement) throws ReportingException
measurement
- The current measurement.ReportingException
- When it was not possible to append the results.public boolean isInitialized()
public void close() throws PerfCakeException
PerfCakeException
- When it was not possible to smoothly finalize the data files.public void compileResults(boolean autoCombine) throws PerfCakeException
autoCombine
- True if we should combine the new results with the previous reports.PerfCakeException
- When there was an error creating the report. Typically an I/O issue.Copyright © 2010–2017 PerfCake Community. All rights reserved.