|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BenchmarkReportable
An interface to be implemented by all classes responsible for generating benchmark reports.
Method Summary | |
---|---|
Object |
calculate(Object reportContainer)
Does the report specific calculations. |
void |
executeReport()
A single method to execute report (A command line counter part API ). |
void |
parseArguments(String[] args)
Parses the command line arguments. |
void |
printReport(Object reportContainer,
File outputFile)
Prints a report in text or HTML format. |
Object |
store(File inputFile)
Organizes the log entries in report specific data structure. |
Method Detail |
---|
Object store(File inputFile) throws BenchmarkReportException
inputFile
- An input benchmark file handle.
BenchmarkReportException
- if an error occurs while organizing the log entries.Object calculate(Object reportContainer) throws BenchmarkReportException
reportContainer
- An object containing the log entries organized in a report
specific data structure.
BenchmarkReportException
- if computation error occurs.void printReport(Object reportContainer, File outputFile) throws BenchmarkReportException
reportContainer
- An object containing the log entries organized in a report
specific data structure.outputFile
- An output report file handle.
BenchmarkReportException
- if report couldn't be printed to given media (text/HTML).void parseArguments(String[] args) throws BenchmarkReportException
args
- A string array containing command line parameters.
BenchmarkReportException
- if an invalid argument is provided.void executeReport() throws BenchmarkReportException, BenchmarkReportExecutionException
BenchmarkReportException
- if an error occurs while generating the report.
BenchmarkReportExecutionException
- if the given input file is modified while generating the report.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |