Package net.serenitybdd.core.reports
Class ReportDataSaver
java.lang.Object
net.serenitybdd.core.reports.ReportDataSaver
- All Implemented Interfaces:
AndContent
,FromFile
,WithTitle
public class ReportDataSaver extends java.lang.Object implements WithTitle, AndContent, FromFile
-
Constructor Summary
Constructors Constructor Description ReportDataSaver(StepEventBus eventBus)
-
Method Summary
Modifier and Type Method 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)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ReportDataSaver
-
-
Method Details
-
withTitle
-
andContents
public void andContents(java.lang.String contents)- Specified by:
andContents
in interfaceAndContent
-
fromFile
public void fromFile(java.nio.file.Path source) throws java.io.IOException -
fromFile
public void fromFile(java.nio.file.Path source, java.nio.charset.Charset encoding) throws java.io.IOException -
downloadable
- Specified by:
downloadable
in interfaceFromFile
-
asEvidence
- Specified by:
asEvidence
in interfaceWithTitle
-