Package io.cucumber.messages.types
Class Feature
java.lang.Object
io.cucumber.messages.types.Feature
Represents the Feature message in Cucumber's message protocol
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanZero or more childrenThe line(s) underneath the line with the `keyword` that are used as descriptionThe text of the `Feature` keyword (in the language specified by `language`)The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin documentThe location of the `Feature` keywordgetName()The name of the feature (the text following the `keyword`)getTags()All the tags placed above the `Feature` keywordinthashCode()toString()
-
Constructor Details
-
Feature
-
-
Method Details
-
getLocation
The location of the `Feature` keyword -
getTags
All the tags placed above the `Feature` keyword -
getLanguage
The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin document -
getKeyword
The text of the `Feature` keyword (in the language specified by `language`) -
getName
The name of the feature (the text following the `keyword`) -
getDescription
The line(s) underneath the line with the `keyword` that are used as description -
getChildren
Zero or more children -
equals
-
hashCode
public int hashCode() -
toString
-