Class Feature


  • public class Feature
    extends Object
    • Constructor Detail

      • Feature

        public Feature()
        No args constructor for use in serialization
    • 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)
      • getTags

        public List<Tag> getTags()
        All the tags placed above the `Feature` keyword (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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object