Class AllScenariosPageRenderer
- java.lang.Object
-
- com.trivago.cluecumber.engine.rendering.pages.renderering.PageRenderer
-
- com.trivago.cluecumber.engine.rendering.pages.renderering.PageWithChartRenderer
-
- com.trivago.cluecumber.engine.rendering.pages.renderering.AllScenariosPageRenderer
-
@Singleton public class AllScenariosPageRenderer extends PageWithChartRenderer
The renderer for the scenario overview page.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRenderedContent(AllScenariosPageCollection allScenariosPageCollection, freemarker.template.Template template)Get the rendered HTML content.StringgetRenderedContentByFeatureFilter(AllScenariosPageCollection allScenariosPageCollection, freemarker.template.Template template, Feature feature)Get the rendered HTML content after applying a feature filter.StringgetRenderedContentByStepFilter(AllScenariosPageCollection allScenariosPageCollection, freemarker.template.Template template, Step step)Get the rendered HTML content after applying a step filter.StringgetRenderedContentByTagFilter(AllScenariosPageCollection allScenariosPageCollection, freemarker.template.Template template, Tag tag)Get the rendered HTML content after applying a tag filter.-
Methods inherited from class com.trivago.cluecumber.engine.rendering.pages.renderering.PageRenderer
addCustomParametersToReportDetails
-
-
-
-
Method Detail
-
getRenderedContent
public String getRenderedContent(AllScenariosPageCollection allScenariosPageCollection, freemarker.template.Template template) throws CluecumberException
Get the rendered HTML content.- Parameters:
allScenariosPageCollection- TheAllScenariosPageCollectioninstance.template- TheTemplateinstance.- Returns:
- The HTML content as a string.
- Throws:
CluecumberException- Thrown on any error.
-
getRenderedContentByTagFilter
public String getRenderedContentByTagFilter(AllScenariosPageCollection allScenariosPageCollection, freemarker.template.Template template, Tag tag) throws CluecumberException
Get the rendered HTML content after applying a tag filter.- Parameters:
allScenariosPageCollection- TheAllScenariosPageCollectioninstance.template- TheTemplateinstance.tag- TheTaginstance to filter by.- Returns:
- The HTML content as a string.
- Throws:
CluecumberException- Thrown on any error.
-
getRenderedContentByStepFilter
public String getRenderedContentByStepFilter(AllScenariosPageCollection allScenariosPageCollection, freemarker.template.Template template, Step step) throws CluecumberException
Get the rendered HTML content after applying a step filter.- Parameters:
allScenariosPageCollection- TheAllScenariosPageCollectioninstance.template- TheTemplateinstance.step- TheStepinstance to filter by.- Returns:
- The HTML content as a string.
- Throws:
CluecumberException- Thrown on any error.
-
getRenderedContentByFeatureFilter
public String getRenderedContentByFeatureFilter(AllScenariosPageCollection allScenariosPageCollection, freemarker.template.Template template, Feature feature) throws CluecumberException
Get the rendered HTML content after applying a feature filter.- Parameters:
allScenariosPageCollection- TheAllScenariosPageCollectioninstance.template- TheTemplateinstance.feature- TheFeatureinstance to filter by.- Returns:
- The HTML content as a string.
- Throws:
CluecumberException- Thrown on any error.
-
-