Package io.cucumber.messages.types
Class Comment
- java.lang.Object
-
- io.cucumber.messages.types.Comment
-
public class Comment extends Object
* A comment in a Gherkin document
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)LocationgetLocation()* Points to a line and a column in a text file (Required)StringgetText()The text of the comment (Required)inthashCode()voidsetLocation(Location location)* Points to a line and a column in a text file (Required)voidsetText(String text)The text of the comment (Required)StringtoString()
-
-
-
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)
-
getText
public String getText()
The text of the comment (Required)
-
setText
public void setText(String text)
The text of the comment (Required)
-
-