Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 header
        withDescriptions - are descriptions included
        rows - 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.