Class Tag

java.lang.Object
com.tngtech.jgiven.report.model.Tag

public class Tag extends Object
A tag represents a Java annotation of a scenario-test.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • isPrependType

      public boolean isPrependType()
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • setColor

      public void setColor(String color)
    • getColor

      public String getColor()
    • setCssClass

      public void setCssClass(String cssClass)
    • getCssClass

      public String getCssClass()
    • getCssClassOrDefault

      public String getCssClassOrDefault()
    • setStyle

      public void setStyle(String style)
    • getStyle

      public String getStyle()
    • setType

      public void setType(String type)
    • getType

      public String getType()
    • getHref

      public String getHref()
    • setHref

      public void setHref(String href)
    • getValues

      public List<String> getValues()
    • setValue

      public void setValue(List<String> values)
    • setValue

      public void setValue(String value)
    • setPrependType

      public Tag setPrependType(boolean prependType)
    • setShowInNavigation

      public void setShowInNavigation(boolean show)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getValueString

      public String getValueString()
    • toIdString

      public String toIdString()
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toEscapedString

      public String 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

      public void setName(String name)
    • getFullType

      public String getFullType()
    • getShownInNavigation

      public boolean getShownInNavigation()
    • getTags

      public List<String> getTags()
    • setTags

      public void setTags(List<String> tags)
    • copy

      public Tag copy()