Class Tag

java.lang.Object
io.cucumber.messages.types.Tag

public final class Tag extends Object
Represents the Tag message in Cucumber's message protocol

A tag

  • Constructor Details

  • Method Details

    • getLocation

      public Location getLocation()
      Location of the tag
    • getName

      public String getName()
      The name of the tag (including the leading `@`)
    • getId

      public String getId()
      Unique ID to be able to reference the Tag from PickleTag
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object