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 voidandContents(java.lang.String contents)WithTitleasEvidence()FromFiledownloadable()voidfromFile(java.nio.file.Path source)voidfromFile(java.nio.file.Path source, java.nio.charset.Charset encoding)AndContentwithTitle(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:
andContentsin 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:
downloadablein interfaceFromFile
-
asEvidence
- Specified by:
asEvidencein interfaceWithTitle
-