Package io.cucumber.java
Class JavaSnippet
java.lang.Object
io.cucumber.java.AbstractJavaSnippet
io.cucumber.java.JavaSnippet
- All Implemented Interfaces:
Snippet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontemplate()Returns aMessageFormattemplate used to generate a snippet.Methods inherited from class io.cucumber.java.AbstractJavaSnippet
arguments, escapePattern, language, tableHint
-
Constructor Details
-
JavaSnippet
JavaSnippet()
-
-
Method Details
-
template
Description copied from interface:SnippetReturns aMessageFormattemplate used to generate a snippet.The template can access the following variables:
- {0} : Step Keyword
- {1} : Value of
Snippet.escapePattern(String) - {2} : Function name
- {3} : Value of
Snippet.arguments(Map) - {4} : Regexp hint comment
- {5} : value of
Snippet.tableHint()if the step has a table
- Returns:
- a template used to generate a snippet.
-