Class TreeViewPageCollection

  • All Implemented Interfaces:
    Cloneable

    public class TreeViewPageCollection
    extends PageCollection
    Page collection for the tree view page.
    • Constructor Detail

      • TreeViewPageCollection

        public TreeViewPageCollection​(Map<Feature,​List<Element>> elements,
                                      String pageTitle)
        Constructor.
        Parameters:
        elements - The map of features and associated scenarios.
        pageTitle - The title of the tree view page.
    • Method Detail

      • getElements

        public Map<Feature,​List<Element>> getElements()
        Get the list of features and their scenarios.
        Returns:
        The map of features and associated scenarios.
      • getNumberOfFeatures

        public int getNumberOfFeatures()
        Retrieve the total number of features.
        Returns:
        The count.
      • getNumberOfScenarios

        public int getNumberOfScenarios()
        Retrieve the total number of scenarios.
        Returns:
        The count.