Class AllFeaturesPageCollection
- java.lang.Object
-
- com.trivago.cluecumber.engine.rendering.pages.pojos.pagecollections.PageCollection
-
- com.trivago.cluecumber.engine.rendering.pages.pojos.pagecollections.AllFeaturesPageCollection
-
- All Implemented Interfaces:
Cloneable
public class AllFeaturesPageCollection extends PageCollection
Page collection for the feature overview page.
-
-
Constructor Summary
Constructors Constructor Description AllFeaturesPageCollection(List<Report> reports, String pageTitle)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Feature,ResultCount>getFeatureResultCounts()Get a map ofResultCountlists connected to features.Set<Feature>getFeatures()Returns all features.intgetTotalNumberOfFailedFeatures()Get the failed feature count.intgetTotalNumberOfFeatures()Get the feature count.intgetTotalNumberOfPassedFeatures()Get the passed feature count.intgetTotalNumberOfScenarios()Get the scenario count.intgetTotalNumberOfSkippedFeatures()Get the skipped feature count.-
Methods inherited from class com.trivago.cluecumber.engine.rendering.pages.pojos.pagecollections.PageCollection
clone, getCustomParameters, getDisplayMode, getNavigationLinks, getPageTitle, getReportDetails, hasCustomParameters, isExpandAttachments, isExpandBeforeAfterHooks, isExpandDocStrings, isExpandOutputs, isExpandPreviousScenarioRuns, isExpandStepHooks, isExpandSubSections, isGroupPreviousScenarioRuns, setCustomParameters, setDisplayMode, setExpandAttachments, setExpandBeforeAfterHooks, setExpandDocStrings, setExpandOutputs, setExpandPreviousScenarioRuns, setExpandStepHooks, setExpandSubSections, setGroupPreviousScenarioRuns, setNavigationLinks
-
-
-
-
Method Detail
-
getFeatureResultCounts
public Map<Feature,ResultCount> getFeatureResultCounts()
Get a map ofResultCountlists connected to features.- Returns:
- a map of
ResultCountlists with features as keys.
-
getTotalNumberOfFeatures
public int getTotalNumberOfFeatures()
Get the feature count.- Returns:
- The number of features.
-
getTotalNumberOfPassedFeatures
public int getTotalNumberOfPassedFeatures()
Get the passed feature count.- Returns:
- The number of passed features.
-
getTotalNumberOfFailedFeatures
public int getTotalNumberOfFailedFeatures()
Get the failed feature count.- Returns:
- The number of failed features.
-
getTotalNumberOfSkippedFeatures
public int getTotalNumberOfSkippedFeatures()
Get the skipped feature count.- Returns:
- The number of skipped features.
-
getTotalNumberOfScenarios
public int getTotalNumberOfScenarios()
Get the scenario count.- Returns:
- The number of scenarios.
-
-