|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.slamd.report.HTMLReportGenerator
This class provides an implementation of a SLAMD report generator that will write the report information in HTML form. The resulting files will be packaged together in a zip archive.
| Field Summary | |
static java.lang.String[] |
COMPRESSION_OPTIONS
The compression options that will be presented to the end user. |
static java.lang.String |
EOL
The end-of-line string that will be used. |
static java.lang.String |
PARAM_COMPRESSION_LEVEL
The name of the configuration parameter that specifies the level of compression to use when generating the zip archive. |
static java.lang.String |
PARAM_INCLUDE_DETAILED_STATISTICS
The name of the configuration parameter that indicates whether to include detailed statistical information in the report. |
static java.lang.String |
PARAM_INCLUDE_GRAPHS
The name of the configuration parameter that indicates whether to include graphs in the report. |
static java.lang.String |
PARAM_INCLUDE_JOB_CONFIG
The name of the configuration parameter that indicates whether to include the job-specific configuration in the report. |
static java.lang.String |
PARAM_INCLUDE_MONITOR_STATS
The name of the configuration parameter that indicates whether to include resource monitor statistics in the report. |
static java.lang.String |
PARAM_INCLUDE_OPTIMIZING_ITERATIONS
The name of the configuration parameter that indicates whether to include the individual iterations of an optimizing job. |
static java.lang.String |
PARAM_INCLUDE_SCHEDULE_CONFIG
The name of the configuration parameter that indicates whether to include the schedule configuration in the report. |
static java.lang.String |
PARAM_INCLUDE_STATS
The name of the configuration parameter that indicates whether to include job statistics in the report. |
static java.lang.String |
PARAM_REQUIRE_STATS
The name of the configuration parameter that indicates whether to only include jobs that contain statistics in the generated report. |
| Constructor Summary | |
HTMLReportGenerator()
Creates a new text report generator. |
|
| Method Summary | |
void |
addJobReport(Job job)
Indicates that information about the provided job should be included in the report. |
void |
addOptimizingJobReport(OptimizingJob optimizingJob)
Indicates that information about the provided optimizing job should be included in the report. |
void |
generateReport(RequestInfo requestInfo)
Generates the report and sends it to the user over the provided servlet response. |
java.lang.String |
getReportGeneratorName()
Retrieves a user-friendly name that can be used to indicate the type of report that will be generated. |
ParameterList |
getReportParameterStubs()
Retrieves a set of parameters that can be used to allow the user to configure the way that the report is generated. |
void |
initializeReporter(ParameterList reportParameters)
Initializes this reporter based on the parameters customized by the end user. |
ReportGenerator |
newInstance()
Retrieves a new instance of this report generator initialized with the default configuration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String EOL
public static final java.lang.String PARAM_COMPRESSION_LEVEL
public static final java.lang.String PARAM_INCLUDE_DETAILED_STATISTICS
public static final java.lang.String PARAM_INCLUDE_GRAPHS
public static final java.lang.String PARAM_INCLUDE_MONITOR_STATS
public static final java.lang.String PARAM_INCLUDE_JOB_CONFIG
public static final java.lang.String PARAM_INCLUDE_OPTIMIZING_ITERATIONS
public static final java.lang.String PARAM_INCLUDE_SCHEDULE_CONFIG
public static final java.lang.String PARAM_INCLUDE_STATS
public static final java.lang.String PARAM_REQUIRE_STATS
public static final java.lang.String[] COMPRESSION_OPTIONS
| Constructor Detail |
public HTMLReportGenerator()
| Method Detail |
public java.lang.String getReportGeneratorName()
getReportGeneratorName in interface ReportGeneratorpublic ReportGenerator newInstance()
newInstance in interface ReportGeneratorpublic ParameterList getReportParameterStubs()
getReportParameterStubs in interface ReportGeneratorpublic void initializeReporter(ParameterList reportParameters)
initializeReporter in interface ReportGeneratorreportParameters - The set of parameters provided by the end user
that should be used to customize the report.public void addJobReport(Job job)
addJobReport in interface ReportGeneratorjob - The job about which to include information in the report.public void addOptimizingJobReport(OptimizingJob optimizingJob)
addOptimizingJobReport in interface ReportGeneratoroptimizingJob - The optimizing job about which to include
information in the report.public void generateReport(RequestInfo requestInfo)
generateReport in interface ReportGeneratorrequestInfo - State information about the request being processed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||