Package com.tngtech.jgiven.report.model
Class CasesTable
- java.lang.Object
-
- com.tngtech.jgiven.report.model.CasesTable
-
public class CasesTable extends java.lang.Object
Represents multiple scenario cases as a table structure for simpler reporting.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CasesTable.CaseRow
Represents one case of a scenario.
-
Constructor Summary
Constructors Constructor Description CasesTable(java.util.List<java.lang.String> placeHolders, boolean withDescriptions, java.util.List<CasesTable.CaseRow> rows)
Create a new CasesTable from its parts.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasDescriptions()
java.util.List<java.lang.String>
placeholders()
The placeholders of the data table.java.util.List<CasesTable.CaseRow>
rows()
The rows of the table, not including the header.
-
-
-
Constructor Detail
-
CasesTable
public CasesTable(java.util.List<java.lang.String> placeHolders, boolean withDescriptions, java.util.List<CasesTable.CaseRow> rows)
Create a new CasesTable from its parts.- Parameters:
placeHolders
- the placeholders for the headerwithDescriptions
- are descriptions includedrows
- the rows representing the ScenarioCaseModels
-
-
Method Detail
-
placeholders
public java.util.List<java.lang.String> placeholders()
The placeholders of the data table.
-
hasDescriptions
public boolean hasDescriptions()
-
rows
public java.util.List<CasesTable.CaseRow> rows()
The rows of the table, not including the header.
-
-