Package io.cucumber.messages.types
Class Feature
- java.lang.Object
-
- io.cucumber.messages.types.Feature
-
public final class Feature extends Object
Represents the Feature message in Cucumber's message protocol- See Also:
- Github - Cucumber - Messages
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<FeatureChild>getChildren()Zero or more childrenStringgetDescription()The line(s) underneath the line with the `keyword` that are used as descriptionStringgetKeyword()The text of the `Feature` keyword (in the language specified by `language`)StringgetLanguage()The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin documentLocationgetLocation()The location of the `Feature` keywordStringgetName()The name of the feature (the text following the `keyword`)List<Tag>getTags()All the tags placed above the `Feature` keywordinthashCode()StringtoString()
-
-
-
Method Detail
-
getLocation
public Location getLocation()
The location of the `Feature` keyword
-
getLanguage
public String getLanguage()
The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin document
-
getKeyword
public String getKeyword()
The text of the `Feature` keyword (in the language specified by `language`)
-
getName
public String getName()
The name of the feature (the text following the `keyword`)
-
getDescription
public String getDescription()
The line(s) underneath the line with the `keyword` that are used as description
-
getChildren
public List<FeatureChild> getChildren()
Zero or more children
-
-