public class ReportDataSaver extends java.lang.Object implements WithTitle, AndContent, FromFile
| Constructor and Description |
|---|
ReportDataSaver(StepEventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
void |
andContents(java.lang.String contents) |
WithTitle |
asEvidence() |
FromFile |
downloadable() |
void |
fromFile(java.nio.file.Path source) |
void |
fromFile(java.nio.file.Path source,
java.nio.charset.Charset encoding) |
AndContent |
withTitle(java.lang.String title) |
public ReportDataSaver(StepEventBus eventBus)
public AndContent withTitle(java.lang.String title)
public void andContents(java.lang.String contents)
andContents in interface AndContentpublic void fromFile(java.nio.file.Path source)
throws java.io.IOException
public void fromFile(java.nio.file.Path source,
java.nio.charset.Charset encoding)
throws java.io.IOException
public FromFile downloadable()
downloadable in interface FromFilepublic WithTitle asEvidence()
asEvidence in interface WithTitle