Class Suggestion


  • public final class Suggestion
    extends Object
    Represents the Suggestion message in Cucumber's message protocol

    A suggested fragment of code to implement an undefined step

    • Method Detail

      • getId

        public String getId()
        A unique id for this suggestion
      • getPickleStepId

        public String getPickleStepId()
        The ID of the `PickleStep` this `Suggestion` was created for.
      • getSnippets

        public List<Snippet> getSnippets()
        A collection of code snippets that could implement the undefined step
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object