Class Tag
- java.lang.Object
-
- com.trivago.cluecumber.engine.json.pojo.Tag
-
public class Tag extends Object
This represents a Cucumber tag.
-
-
Constructor Summary
Constructors Constructor Description Tag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Tag comparison function.StringgetName()Get the tag name.StringgetUrlFriendlyName()Turns the tag into a name that can be used within a URL.inthashCode()Default hash code function that hashes the tag name.voidsetName(String name)Set the tag name.
-
-
-
Method Detail
-
getName
public String getName()
Get the tag name.- Returns:
- The name.
-
setName
public void setName(String name)
Set the tag name.- Parameters:
name- The tag name.
-
getUrlFriendlyName
public String getUrlFriendlyName()
Turns the tag into a name that can be used within a URL.- Returns:
- The sanitized tag name.
-
equals
public boolean equals(Object o)
Tag comparison function.
-
-