Enum TemplateEngine.Template
- java.lang.Object
-
- java.lang.Enum<TemplateEngine.Template>
-
- com.trivago.cluecumber.engine.rendering.pages.templates.TemplateEngine.Template
-
- All Implemented Interfaces:
Serializable,Comparable<TemplateEngine.Template>
- Enclosing class:
- TemplateEngine
public static enum TemplateEngine.Template extends Enum<TemplateEngine.Template>
The enum that defines the different Freemarker template names.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_FEATURESFeature overview template.ALL_SCENARIOSScenario overview template.ALL_STEPSStep overview template.ALL_TAGSTag overview template.CUSTOM_CSSTemplate for a custom CSS file.SCENARIO_DETAILSScenario detail template.SCENARIO_SEQUENCEScenario sequence template.START_PAGEStart page template.TREE_VIEWTree view template.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFileName()Get the file name of the Freemarker template.static TemplateEngine.TemplatevalueOf(String name)Returns the enum constant of this type with the specified name.static TemplateEngine.Template[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TREE_VIEW
public static final TemplateEngine.Template TREE_VIEW
Tree view template.
-
ALL_FEATURES
public static final TemplateEngine.Template ALL_FEATURES
Feature overview template.
-
ALL_SCENARIOS
public static final TemplateEngine.Template ALL_SCENARIOS
Scenario overview template.
-
SCENARIO_SEQUENCE
public static final TemplateEngine.Template SCENARIO_SEQUENCE
Scenario sequence template.
-
ALL_STEPS
public static final TemplateEngine.Template ALL_STEPS
Step overview template.
-
ALL_TAGS
public static final TemplateEngine.Template ALL_TAGS
Tag overview template.
-
SCENARIO_DETAILS
public static final TemplateEngine.Template SCENARIO_DETAILS
Scenario detail template.
-
CUSTOM_CSS
public static final TemplateEngine.Template CUSTOM_CSS
Template for a custom CSS file.
-
START_PAGE
public static final TemplateEngine.Template START_PAGE
Start page template.
-
-
Method Detail
-
values
public static TemplateEngine.Template[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TemplateEngine.Template c : TemplateEngine.Template.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateEngine.Template valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getFileName
public String getFileName()
Get the file name of the Freemarker template.- Returns:
- The template file name.
-
-