Package io.cucumber.core.gherkin
Interface Pickle
public interface Pickle
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<io.cucumber.plugin.event.Location>Returns the location in the feature file of the examples this pickle was created from.default Optional<io.cucumber.plugin.event.Location>Returns the location in the feature file of the Feature this pickle was created from.getId()io.cucumber.plugin.event.LocationReturns the location in the feature file of the Scenario this pickle was created from.getName()default Optional<io.cucumber.plugin.event.Location>Returns the location in the feature file of the Rule this pickle was created from.io.cucumber.plugin.event.LocationReturns the location in the feature file of the Scenario this pickle was created from.getSteps()getTags()getUri()
-
Method Details
-
getKeyword
String getKeyword() -
getLanguage
String getLanguage() -
getName
String getName() -
getLocation
io.cucumber.plugin.event.Location getLocation()Returns 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.- Returns:
- location in the feature file
-
getScenarioLocation
io.cucumber.plugin.event.Location getScenarioLocation()Returns 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- Returns:
- location in the feature file
-
getRuleLocation
Returns the location in the feature file of the Rule this pickle was created from.- Returns:
- location in the feature file
-
getFeatureLocation
Returns the location in the feature file of the Feature this pickle was created from.- Returns:
- location in the feature file
-
getExamplesLocation
Returns the location in the feature file of the examples this pickle was created from.- Returns:
- location in the feature file
-
getSteps
-
getTags
-
getUri
URI getUri() -
getId
String getId()
-