Package com.tngtech.jgiven.report.json
Class ScenarioJsonReader
- java.lang.Object
-
- com.tngtech.jgiven.report.json.ScenarioJsonReader
-
- All Implemented Interfaces:
com.google.common.base.Function<java.io.File,ReportModel>
,java.util.function.Function<java.io.File,ReportModel>
public class ScenarioJsonReader extends java.lang.Object implements com.google.common.base.Function<java.io.File,ReportModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScenarioJsonReader.JsonReaderException
-
Constructor Summary
Constructors Constructor Description ScenarioJsonReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportModel
apply(java.io.File file)
-
-
-
Method Detail
-
apply
public ReportModel apply(java.io.File file)
- Specified by:
apply
in interfacecom.google.common.base.Function<java.io.File,ReportModel>
- Specified by:
apply
in interfacejava.util.function.Function<java.io.File,ReportModel>
- Throws:
ScenarioJsonReader.JsonReaderException
- in case there was an error while reading the file.
-
-