Package com.tngtech.jgiven.report.model
Class Tag
java.lang.Object
com.tngtech.jgiven.report.model.Tag
A tag represents a Java annotation of a scenario-test.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleangetColor()getHref()getName()booleangetStyle()getTags()getType()inthashCode()booleanvoidvoidsetCssClass(String cssClass) voidsetDescription(String description) voidvoidsetPrependType(boolean prependType) voidsetShowInNavigation(boolean show) voidvoidvoidvoidvoidReturns a string representation where all non-alphanumeric characters are replaced with an underline (_).toString()
-
Constructor Details
-
Tag
-
Tag
-
Tag
-
-
Method Details
-
getName
-
isPrependType
public boolean isPrependType() -
getDescription
-
setDescription
-
setColor
-
getColor
-
setCssClass
-
getCssClass
-
getCssClassOrDefault
-
setStyle
-
getStyle
-
setType
-
getType
-
getHref
-
setHref
-
getValues
-
setValue
-
setValue
-
setPrependType
-
toString
-
getValueString
-
toIdString
-
hashCode
public int hashCode() -
equals
-
toEscapedString
Returns a string representation where all non-alphanumeric characters are replaced with an underline (_). In addition, the result is cut-off at a length of 255 characters.- Returns:
- a string representation without special characters
-
setName
-
getFullType
-
getTags
-
setTags
-
copy
-