Class ReportData.ReportDataBuilder

java.lang.Object
net.thucydides.core.model.ReportData.ReportDataBuilder
Enclosing class:
ReportData

public static class ReportData.ReportDataBuilder
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    ReportDataBuilder​(java.lang.String title)  
  • Method Summary

    Modifier and Type Method Description
    ReportData andContents​(java.lang.String contents)  
    ReportData.ReportDataBuilder asEvidence()  
    ReportData fromFile​(java.nio.file.Path source, java.nio.charset.Charset encoding)  
    ReportData fromPath​(java.nio.file.Path path)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ReportDataBuilder

      public ReportDataBuilder​(java.lang.String title)
  • Method Details

    • asEvidence

      public ReportData.ReportDataBuilder asEvidence()
    • andContents

      public ReportData andContents​(java.lang.String contents)
    • fromFile

      public ReportData fromFile​(java.nio.file.Path source, java.nio.charset.Charset encoding) throws java.io.IOException
      Throws:
      java.io.IOException
    • fromPath

      public ReportData fromPath​(java.nio.file.Path path) throws java.io.IOException
      Throws:
      java.io.IOException