Package io.cucumber.messages.types
Class Rule
- java.lang.Object
-
- io.cucumber.messages.types.Rule
-
public class Rule extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)List<RuleChild>getChildren()(Required)StringgetDescription()(Required)StringgetId()(Required)StringgetKeyword()(Required)LocationgetLocation()* Points to a line and a column in a text file (Required)StringgetName()(Required)List<Tag>getTags()All the tags placed above the `Rule` keyword (Required)inthashCode()voidsetChildren(List<RuleChild> children)(Required)voidsetDescription(String description)(Required)voidsetId(String id)(Required)voidsetKeyword(String keyword)(Required)voidsetLocation(Location location)* Points to a line and a column in a text file (Required)voidsetName(String name)(Required)voidsetTags(List<Tag> tags)All the tags placed above the `Rule` keyword (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)
-
setTags
public void setTags(List<Tag> tags)
All the tags placed above the `Rule` keyword (Required)
-
getKeyword
public String getKeyword()
(Required)
-
setKeyword
public void setKeyword(String keyword)
(Required)
-
getName
public String getName()
(Required)
-
setName
public void setName(String name)
(Required)
-
getDescription
public String getDescription()
(Required)
-
setDescription
public void setDescription(String description)
(Required)
-
getId
public String getId()
(Required)
-
setId
public void setId(String id)
(Required)
-
-