Class AbstractPage
java.lang.Object
net.masterthought.cucumber.generators.AbstractPage
- Direct Known Subclasses:
ErrorPage,FailuresOverviewPage,FeatureReportPage,FeaturesOverviewPage,StepsOverviewPage,TagReportPage,TagsOverviewPage,TrendsOverviewPage
Delivers common methods for page generation.
- Author:
- Damian Szczepanik (damianszczepanik@github)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ConfigurationConfiguration used for this report execution.protected final org.apache.velocity.VelocityContextprotected final ReportResultResults of the report. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractPage(ReportResult reportResult, String templateFileName, Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidabstract StringReturns HTML file name (with extension) for this report.protected abstract void
-
Field Details
-
context
protected final org.apache.velocity.VelocityContext context -
reportResult
Results of the report. -
configuration
Configuration used for this report execution.
-
-
Constructor Details
-
AbstractPage
protected AbstractPage(ReportResult reportResult, String templateFileName, Configuration configuration)
-
-
Method Details
-
generatePage
public void generatePage() -
getWebPage
Returns HTML file name (with extension) for this report.- Returns:
- HTML file for the report
-
prepareReport
protected abstract void prepareReport()
-