Package com.tngtech.jgiven.report.model
Class CompleteReportModel
- java.lang.Object
-
- com.tngtech.jgiven.report.model.CompleteReportModel
-
public class CompleteReportModel extends java.lang.Object
Represents the complete report model of all report files.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ScenarioModel>
allScenarios
protected java.util.List<ScenarioModel>
failedScenarios
protected java.util.List<ReportModelFile>
models
protected java.util.List<ScenarioModel>
pendingScenarios
protected java.util.Map<ReportModelFile,ReportStatistics>
statisticsMap
protected java.util.Map<java.lang.String,Tag>
tagIdMap
protected java.util.Map<Tag,java.util.List<ScenarioModel>>
tagMap
protected ReportStatistics
totalStatistics
-
Constructor Summary
Constructors Constructor Description CompleteReportModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addModelFile(ReportModelFile modelFile)
java.util.List<ReportModelFile>
getAllReportModels()
java.util.List<ScenarioModel>
getAllScenarios()
java.util.Set<Tag>
getAllTags()
java.util.List<ScenarioModel>
getFailedScenarios()
java.util.List<ScenarioModel>
getPendingScenarios()
java.util.List<ScenarioModel>
getScenariosByTag(Tag tag)
ReportStatistics
getStatistics(ReportModelFile reportModelFile)
java.util.Map<java.lang.String,Tag>
getTagIdMap()
ReportStatistics
getTotalStatistics()
-
-
-
Field Detail
-
models
protected final java.util.List<ReportModelFile> models
-
tagMap
protected final java.util.Map<Tag,java.util.List<ScenarioModel>> tagMap
-
statisticsMap
protected final java.util.Map<ReportModelFile,ReportStatistics> statisticsMap
-
totalStatistics
protected ReportStatistics totalStatistics
-
failedScenarios
protected final java.util.List<ScenarioModel> failedScenarios
-
pendingScenarios
protected final java.util.List<ScenarioModel> pendingScenarios
-
allScenarios
protected final java.util.List<ScenarioModel> allScenarios
-
tagIdMap
protected final java.util.Map<java.lang.String,Tag> tagIdMap
-
-
Method Detail
-
addModelFile
public void addModelFile(ReportModelFile modelFile)
-
getFailedScenarios
public java.util.List<ScenarioModel> getFailedScenarios()
-
getPendingScenarios
public java.util.List<ScenarioModel> getPendingScenarios()
-
getAllScenarios
public java.util.List<ScenarioModel> getAllScenarios()
-
getTotalStatistics
public ReportStatistics getTotalStatistics()
-
getStatistics
public ReportStatistics getStatistics(ReportModelFile reportModelFile)
-
getAllTags
public java.util.Set<Tag> getAllTags()
-
getScenariosByTag
public java.util.List<ScenarioModel> getScenariosByTag(Tag tag)
-
getAllReportModels
public java.util.List<ReportModelFile> getAllReportModels()
-
getTagIdMap
public java.util.Map<java.lang.String,Tag> getTagIdMap()
-
-