Class Comment

java.lang.Object
io.cucumber.messages.types.Comment

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

A comment in a Gherkin document

  • Constructor Details

  • Method Details

    • getLocation

      public Location getLocation()
      The location of the comment
    • getText

      public String getText()
      The text of the comment
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object