public class JsonModelTraverser
extends java.lang.Object
| Constructor and Description |
|---|
JsonModelTraverser() |
| Modifier and Type | Method and Description |
|---|---|
void |
traverseModels(java.io.File sourceDirectory,
ReportModelFileHandler handler)
Reads all JSON files from
sourceDirectory and invokes for each found file
the ReportModelFileHandler.handleReportModel(com.tngtech.jgiven.report.model.ReportModelFile) method of the given handler. |
public void traverseModels(java.io.File sourceDirectory,
ReportModelFileHandler handler)
sourceDirectory and invokes for each found file
the ReportModelFileHandler.handleReportModel(com.tngtech.jgiven.report.model.ReportModelFile) method of the given handler.sourceDirectory - the directory that contains the JSON fileshandler - the handler to be invoked for each file