com.philemonworks.selfdiagnose.output
Class HTMLReporter
java.lang.Object
com.philemonworks.selfdiagnose.output.HTMLReporter
- All Implemented Interfaces:
- DiagnoseRunReporter
public class HTMLReporter
- extends Object
- implements DiagnoseRunReporter
HTMLReporter is to produce an HTML report for a DiagnoseRun.
- Author:
- ernestmicklei
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
html
protected StringBuffer html
BASIC_DATA
public static final String BASIC_DATA
- See Also:
- Constant Field Values
STARTUP_TIMESTAMP
public static final Date STARTUP_TIMESTAMP
HTMLReporter
public HTMLReporter()
report
public void report(DiagnoseRun run)
- Description copied from interface:
DiagnoseRunReporter
- Report a completed diagnose run
- Specified by:
report
in interface DiagnoseRunReporter
appendReportBody
public void appendReportBody(DiagnoseRun run)
appendLinkBar
protected void appendLinkBar(DiagnoseRun run)
appendLinkBarLinks
protected void appendLinkBarLinks(DiagnoseRun run)
write
protected void write(DiagnosticTaskResult result)
appendTableHeader
protected void appendTableHeader()
append
protected void append(DiagnosticTaskResult result)
data
protected void data(String content,
String cssClass)
header
protected void header(String content)
beginHTML
protected void beginHTML()
endHTML
protected void endHTML()
getContent
public String getContent()
- Description copied from interface:
DiagnoseRunReporter
- Return the report contents
- Specified by:
getContent
in interface DiagnoseRunReporter
getContentType
public String getContentType()
- Description copied from interface:
DiagnoseRunReporter
- Return the Http Response content type
- Specified by:
getContentType
in interface DiagnoseRunReporter
Copyright © 2012. All Rights Reserved.