com.lazerycode.jmeter.analyzer.writer
public abstract class WriterBase extends Object implements Writer
Writer implementations should extend this class.| Modifier and Type | Field and Description |
|---|---|
protected static String |
CSV_EXT |
protected static String |
DURATIONS |
protected String |
fileName |
protected static String |
HTML_EXT |
protected static String |
JSON_EXT |
protected static String |
PNG_EXT |
protected static String |
SIZES |
protected static String |
TXT_EXT |
| Constructor and Description |
|---|
WriterBase() |
| Modifier and Type | Method and Description |
|---|---|
protected File |
getFile(String name) |
String |
getFileName() |
String |
getResultDataFileRelativePath()
The relative path below
AnalyzeMojo.targetDirectory to create
the files in if Environment.preserveDirectories is true |
void |
setFileName(String fileName)
Setter is called by
ResultAnalyzer before calling
Writer.write(java.util.Map). |
void |
setResultDataFileRelativePath(String resultDataFileRelativePath)
Setter is called by
ResultAnalyzer before calling
Writer.write(java.util.Map). |
protected static final String CSV_EXT
protected static final String TXT_EXT
protected static final String PNG_EXT
protected static final String JSON_EXT
protected static final String HTML_EXT
protected static final String DURATIONS
protected static final String SIZES
protected String fileName
public String getFileName()
getFileName in interface Writerpublic void setFileName(String fileName)
WriterResultAnalyzer before calling
Writer.write(java.util.Map).setFileName in interface Writerpublic String getResultDataFileRelativePath()
WriterAnalyzeMojo.targetDirectory to create
the files in if Environment.preserveDirectories is truegetResultDataFileRelativePath in interface Writerpublic void setResultDataFileRelativePath(String resultDataFileRelativePath)
WriterResultAnalyzer before calling
Writer.write(java.util.Map).setResultDataFileRelativePath in interface Writerprotected File getFile(String name) throws IOException
IOExceptionCopyright © 2013. All Rights Reserved.