Package io.cucumber.messages.types
Class Feature
- java.lang.Object
-
- io.cucumber.messages.types.Feature
-
public class Feature extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)List<FeatureChild>getChildren()Zero or more children (Required)StringgetDescription()The line(s) underneath the line with the `keyword` that are used as description (Required)StringgetKeyword()The text of the `Feature` keyword (in the language specified by `language`) (Required)StringgetLanguage()The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin document (Required)LocationgetLocation()* Points to a line and a column in a text file (Required)StringgetName()The name of the feature (the text following the `keyword`) (Required)List<Tag>getTags()All the tags placed above the `Feature` keyword (Required)inthashCode()voidsetChildren(List<FeatureChild> children)Zero or more children (Required)voidsetDescription(String description)The line(s) underneath the line with the `keyword` that are used as description (Required)voidsetKeyword(String keyword)The text of the `Feature` keyword (in the language specified by `language`) (Required)voidsetLanguage(String language)The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin document (Required)voidsetLocation(Location location)* Points to a line and a column in a text file (Required)voidsetName(String name)The name of the feature (the text following the `keyword`) (Required)voidsetTags(List<Tag> tags)All the tags placed above the `Feature` keyword (Required)StringtoString()
-
-
-
Method Detail
-
getLocation
public Location getLocation()
* Points to a line and a column in a text file (Required)
-
setLocation
public void setLocation(Location location)
* Points to a line and a column in a text file (Required)
-
setTags
public void setTags(List<Tag> tags)
All the tags placed above the `Feature` keyword (Required)
-
getLanguage
public String getLanguage()
The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin document (Required)
-
setLanguage
public void setLanguage(String language)
The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin document (Required)
-
getKeyword
public String getKeyword()
The text of the `Feature` keyword (in the language specified by `language`) (Required)
-
setKeyword
public void setKeyword(String keyword)
The text of the `Feature` keyword (in the language specified by `language`) (Required)
-
getName
public String getName()
The name of the feature (the text following the `keyword`) (Required)
-
setName
public void setName(String name)
The name of the feature (the text following the `keyword`) (Required)
-
getDescription
public String getDescription()
The line(s) underneath the line with the `keyword` that are used as description (Required)
-
setDescription
public void setDescription(String description)
The line(s) underneath the line with the `keyword` that are used as description (Required)
-
getChildren
public List<FeatureChild> getChildren()
Zero or more children (Required)
-
setChildren
public void setChildren(List<FeatureChild> children)
Zero or more children (Required)
-
-