com.hammurapi.review.report.html
Class HtmlReporter
java.lang.Object
com.hammurapi.review.report.html.HtmlReporter
- All Implemented Interfaces:
- Component<ObjectDefinition>, Reporter<Object>
public class HtmlReporter
- extends Object
- implements Reporter<Object>, Component<ObjectDefinition>
This class produces review report in HTML format.
- Author:
- Pavel Vlasov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlReporter
public HtmlReporter(File outputDir,
String title,
boolean http)
- Parameters:
http - True indicates that report will be served over http and AJAX can be used.
close
public void close()
throws ReviewException
- Specified by:
close in interface Reporter<Object>
- Throws:
ReviewException
createObservationSink
public ObservationSink createObservationSink(Module module)
throws ReviewException
- Specified by:
createObservationSink in interface Reporter<Object>
- Throws:
ReviewException
onException
public void onException(Exception e)
- Specified by:
onException in interface Reporter<Object>
init
public void init(ConfigurationContext<ObjectDefinition> context)
throws ConfigurationException
- Specified by:
init in interface Component<ObjectDefinition>
- Throws:
ConfigurationException