Class GherkinDialect

java.lang.Object
io.cucumber.gherkin.GherkinDialect

public final class GherkinDialect extends Object
Holds all localized keywords for a single language.
  • Method Details

    • getFeatureKeywords

      public List<String> getFeatureKeywords()
    • getName

      public String getName()
    • getNativeName

      public String getNativeName()
    • getRuleKeywords

      public List<String> getRuleKeywords()
    • getScenarioKeywords

      public List<String> getScenarioKeywords()
    • getScenarioOutlineKeywords

      public List<String> getScenarioOutlineKeywords()
    • getStepKeywords

      public List<String> getStepKeywords()
    • getStepKeywordTypes

      @Deprecated public List<io.cucumber.messages.types.StepKeywordType> getStepKeywordTypes(String keyword)
      Deprecated.
      Returns the StepKeywordTypes for a given keyword
      Parameters:
      keyword - to get the keyword type for
      Returns:
      the keywords type
    • getStepKeywordTypesSet

      public Set<io.cucumber.messages.types.StepKeywordType> getStepKeywordTypesSet(String keyword)
      Returns the StepKeywordTypes for a given keyword
      Parameters:
      keyword - to get the keyword type for
      Returns:
      the keywords type
    • getBackgroundKeywords

      public List<String> getBackgroundKeywords()
    • getExamplesKeywords

      public List<String> getExamplesKeywords()
    • getGivenKeywords

      public List<String> getGivenKeywords()
    • getWhenKeywords

      public List<String> getWhenKeywords()
    • getThenKeywords

      public List<String> getThenKeywords()
    • getAndKeywords

      public List<String> getAndKeywords()
    • getButKeywords

      public List<String> getButKeywords()
    • getLanguage

      public String getLanguage()