XStream Benchmark 1.4.1-redhat-1

com.thoughtworks.xstream.tools.benchmark.reporters
Class HtmlReporter

java.lang.Object
  extended by com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter
All Implemented Interfaces:
Reporter

public class HtmlReporter
extends Object
implements Reporter


Constructor Summary
HtmlReporter(File htmlFile, String title)
           
 
Method Summary
 void endBenchmark()
          Benchmark has ended.
 void endMetric(Metric metric)
           
 void endTarget(Target target)
           
 void metricFailed(Product product, Exception e)
           
 void metricRecorded(Product product, double result)
           
 void startBenchmark()
          Benchmark has started.
 void startMetric(Metric metric)
           
 void startTarget(Target target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlReporter

public HtmlReporter(File htmlFile,
                    String title)
             throws IOException
Throws:
IOException
Method Detail

startBenchmark

public void startBenchmark()
Description copied from interface: Reporter
Benchmark has started. This will always be called ONCE (and only once) BEFORE everything else.

Specified by:
startBenchmark in interface Reporter

startMetric

public void startMetric(Metric metric)
Specified by:
startMetric in interface Reporter

startTarget

public void startTarget(Target target)
Specified by:
startTarget in interface Reporter

metricRecorded

public void metricRecorded(Product product,
                           double result)
Specified by:
metricRecorded in interface Reporter

metricFailed

public void metricFailed(Product product,
                         Exception e)
Specified by:
metricFailed in interface Reporter

endTarget

public void endTarget(Target target)
Specified by:
endTarget in interface Reporter

endMetric

public void endMetric(Metric metric)
Specified by:
endMetric in interface Reporter

endBenchmark

public void endBenchmark()
Description copied from interface: Reporter
Benchmark has ended. This will always be called ONCE (and only once) AFTER everything else.

Specified by:
endBenchmark in interface Reporter

XStream Benchmark 1.4.1-redhat-1

Copyright © 2004-2011 XStream. All Rights Reserved.