|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.slamd.report.TextReportGenerator
This class provides an implementation of a SLAMD report generator that will write the report information to a plain text file.
| Field Summary | |
static java.lang.String |
EOL
The end-of-line string that will be used. |
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_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_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. |
static java.lang.String |
PARAM_SUMMARIZE_OPTIMIZING_ITERATIONS
The name of the configuration parameter that indicates whether to summarize the individual iterations of an optimizing job. |
| Constructor Summary | |
TextReportGenerator()
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_INCLUDE_DETAILED_STATISTICS
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_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 PARAM_SUMMARIZE_OPTIMIZING_ITERATIONS
| Constructor Detail |
public TextReportGenerator()
| 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 | |||||||||