Methods Summary |
---|
protected java.util.zip.ZipFile | archive(ReportTarget target, java.lang.String archiveName)
return new Archiver().archive(config.getTarget(), archiveName);
|
private com.sun.enterprise.diagnostics.Data | collectData()
if(harvester != null) {
((com.sun.enterprise.diagnostics.collect.Harvester)harvester).initialize();
return harvester.capture();
}
throw new DiagnosticException("Harvester null");
|
public java.util.zip.ZipFile | generate()Captures data, writes HTML report and archives it in local mode
Data data = collectData();
writeReportSummary(data);
return archive(config.getTarget(), config.getCLIOptions().getReportFile());
|
protected void | writeReportSummary(com.sun.enterprise.diagnostics.Data data)
if(reportWriter != null)
reportWriter.writeReportSummary(data);
else
throw new DiagnosticException("HTML Report writer == null");
|