Class AllFeaturesPageRenderer
- 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.AllFeaturesPageRenderer
-
@Singleton public class AllFeaturesPageRenderer extends PageWithChartRenderer
The renderer for the feature overview page.
-
-
Constructor Summary
Constructors Constructor Description AllFeaturesPageRenderer(ChartJsonConverter chartJsonConverter, ChartConfiguration chartConfiguration, PropertyManager propertyManager)Constructor for dependency injection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRenderedContent(AllFeaturesPageCollection allFeaturesPageCollection, freemarker.template.Template template)Return the rendered page content.-
Methods inherited from class com.trivago.cluecumber.engine.rendering.pages.renderering.PageRenderer
addCustomParametersToReportDetails
-
-
-
-
Constructor Detail
-
AllFeaturesPageRenderer
@Inject public AllFeaturesPageRenderer(ChartJsonConverter chartJsonConverter, ChartConfiguration chartConfiguration, PropertyManager propertyManager)
Constructor for dependency injection.- Parameters:
chartJsonConverter- TheChartJsonConverterinstance.chartConfiguration- TheChartConfigurationinstance.propertyManager- ThePropertyManagerinstance.
-
-
Method Detail
-
getRenderedContent
public String getRenderedContent(AllFeaturesPageCollection allFeaturesPageCollection, freemarker.template.Template template) throws CluecumberException
Return the rendered page content.- Parameters:
allFeaturesPageCollection- TheAllFeaturesPageCollectioninstance.template- The Freemarker template.- Returns:
- The rendered page content as a string.
- Throws:
CluecumberException- Thrown in case of any error.
-
-