|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.report.writers.AbstractReportWriter
public abstract class AbstractReportWriter
The abstract report writer provides the common implementation for subclasses to reuse.
Field Summary | |
---|---|
static java.lang.String |
TARGET_DIRECTORY
|
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
---|---|
AbstractReportWriter()
|
Method Summary | |
---|---|
void |
archiveDirectory()
if the target output directory already exists, archive it |
java.lang.String |
getDayString()
return the day in YYYYMMDD format |
java.lang.String |
getTargetDirectory()
The method simply returns the target directory and doesn't validate it. the abstract class expects some other class will validate the target directory. |
void |
makeDirectory()
|
void |
setTargetDirectory(java.lang.String directory)
Set the target directory where the report should be saved |
abstract ReportSummary |
writeReport(TestElement element)
Subclasses need to implement this method and provide the necessary logic to produce a ReportSummary object and write the report |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TARGET_DIRECTORY
Constructor Detail |
---|
public AbstractReportWriter()
Method Detail |
---|
public abstract ReportSummary writeReport(TestElement element)
writeReport
in interface ReportWriter
public java.lang.String getTargetDirectory()
getTargetDirectory
in interface ReportWriter
public void setTargetDirectory(java.lang.String directory)
setTargetDirectory
in interface ReportWriter
public void makeDirectory()
public void archiveDirectory()
public java.lang.String getDayString()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |