Class GherkinMessagesPickle
java.lang.Object
io.cucumber.core.gherkin.messages.GherkinMessagesPickle
- All Implemented Interfaces:
Pickle
Wraps
Pickle to avoid exposing the gherkin library to all of
Cucumber.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CucumberQueryprivate final io.cucumber.messages.types.Pickleprivate final URI -
Constructor Summary
ConstructorsConstructorDescriptionGherkinMessagesPickle(io.cucumber.messages.types.Pickle pickle, URI uri, io.cucumber.gherkin.GherkinDialect dialect, CucumberQuery cucumberQuery) -
Method Summary
Modifier and TypeMethodDescriptioncreateCucumberSteps(io.cucumber.messages.types.Pickle pickle, io.cucumber.gherkin.GherkinDialect dialect, CucumberQuery cucumberQuery) Returns the location in the feature file of the examples this pickle was created from.Returns the location in the feature file of the Feature this pickle was created from.getId()Returns the location in the feature file of the Scenario this pickle was created from.getName()Returns the location in the feature file of the Rule this pickle was created from.Returns the location in the feature file of the Scenario this pickle was created from.getSteps()getTags()getUri()
-
Field Details
-
pickle
private final io.cucumber.messages.types.Pickle pickle -
steps
-
uri
-
cucumberQuery
-
-
Constructor Details
-
GherkinMessagesPickle
GherkinMessagesPickle(io.cucumber.messages.types.Pickle pickle, URI uri, io.cucumber.gherkin.GherkinDialect dialect, CucumberQuery cucumberQuery)
-
-
Method Details
-
createCucumberSteps
private static List<Step> createCucumberSteps(io.cucumber.messages.types.Pickle pickle, io.cucumber.gherkin.GherkinDialect dialect, CucumberQuery cucumberQuery) -
getKeyword
- Specified by:
getKeywordin interfacePickle
-
getLanguage
- Specified by:
getLanguagein interfacePickle
-
getName
-
getLocation
Description copied from interface:PickleReturns the location in the feature file of the Scenario this pickle was created from. If this pickle was created from a Scenario Outline this location is the location in the Example section used to fill in the place holders.- Specified by:
getLocationin interfacePickle- Returns:
- location in the feature file
-
getScenarioLocation
Description copied from interface:PickleReturns the location in the feature file of the Scenario this pickle was created from. If this pickle was created from a Scenario Outline this location is that of the Scenario- Specified by:
getScenarioLocationin interfacePickle- Returns:
- location in the feature file
-
getRuleLocation
Description copied from interface:PickleReturns the location in the feature file of the Rule this pickle was created from.- Specified by:
getRuleLocationin interfacePickle- Returns:
- location in the feature file
-
getFeatureLocation
Description copied from interface:PickleReturns the location in the feature file of the Feature this pickle was created from.- Specified by:
getFeatureLocationin interfacePickle- Returns:
- location in the feature file
-
getExamplesLocation
Description copied from interface:PickleReturns the location in the feature file of the examples this pickle was created from.- Specified by:
getExamplesLocationin interfacePickle- Returns:
- location in the feature file
-
getSteps
-
getTags
-
getUri
-
getId
-