Class AllStepsPageCollection
- java.lang.Object
-
- com.trivago.cluecumber.engine.rendering.pages.pojos.pagecollections.PageCollection
-
- com.trivago.cluecumber.engine.rendering.pages.pojos.pagecollections.ScenarioSummaryPageCollection
-
- com.trivago.cluecumber.engine.rendering.pages.pojos.pagecollections.AllStepsPageCollection
-
- All Implemented Interfaces:
Cloneable
public class AllStepsPageCollection extends ScenarioSummaryPageCollection
Page collection for the step overview page.
-
-
Constructor Summary
Constructors Constructor Description AllStepsPageCollection(List<Report> reports, String pageTitle)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAverageTimeFromStep(Step step)Get the average time of all step executions of a specific step.StringgetMaximumTimeFromStep(Step step)Get the maximum step time.intgetMaximumTimeScenarioIndexFromStep(Step step)Get the scenario index from the maximum step time.StringgetMinimumTimeFromStep(Step step)Get the minimum step time.intgetMinimumTimeScenarioIndexFromStep(Step step)Get the scenario index from the minimum step time.Map<Step,ResultCount>getStepResultCounts()Get a map ofResultCountlists connected to step names.Set<Step>getSteps()Get all steps.intgetTotalNumberOfSteps()Get the number of all steps.-
Methods inherited from class com.trivago.cluecumber.engine.rendering.pages.pojos.pagecollections.ScenarioSummaryPageCollection
addScenarioIndexByStatus, getTotalNumberOfFailed, getTotalNumberOfPassed, getTotalNumberOfScenarios, getTotalNumberOfSkipped
-
Methods inherited from class com.trivago.cluecumber.engine.rendering.pages.pojos.pagecollections.PageCollection
clone, getCustomParameters, getDisplayMode, getNavigationLinks, getPageTitle, getReportDetails, hasCustomParameters, isExpandAttachments, isExpandBeforeAfterHooks, isExpandDocStrings, isExpandStepHooks, setCustomParameters, setDisplayMode, setExpandAttachments, setExpandBeforeAfterHooks, setExpandDocStrings, setExpandStepHooks, setNavigationLinks
-
-
-
-
Method Detail
-
getStepResultCounts
public Map<Step,ResultCount> getStepResultCounts()
Get a map ofResultCountlists connected to step names.- Returns:
- a map of
ResultCountlists with steps as keys.
-
getTotalNumberOfSteps
public int getTotalNumberOfSteps()
Get the number of all steps.- Returns:
- The count.
-
getMinimumTimeFromStep
public String getMinimumTimeFromStep(Step step)
Get the minimum step time.- Parameters:
step- TheStep.- Returns:
- The minimum time as string.
-
getMinimumTimeScenarioIndexFromStep
public int getMinimumTimeScenarioIndexFromStep(Step step)
Get the scenario index from the minimum step time.- Parameters:
step- TheStep.- Returns:
- The scenario index.
-
getMaximumTimeFromStep
public String getMaximumTimeFromStep(Step step)
Get the maximum step time.- Parameters:
step- TheStep.- Returns:
- The minimum time as string.
-
getMaximumTimeScenarioIndexFromStep
public int getMaximumTimeScenarioIndexFromStep(Step step)
Get the scenario index from the maximum step time.- Parameters:
step- TheStep.- Returns:
- The scenario index.
-
-