Class UniqueId.Segment

java.lang.Object
org.junit.platform.engine.UniqueId.Segment
All Implemented Interfaces:
Serializable
Enclosing class:
UniqueId

@API(status=STABLE,
     since="1.0")
public static class UniqueId.Segment
extends Object
implements Serializable
A segment of a UniqueId comprises a type and a value.
See Also:
Serialized Form
  • Method Details

    • getType

      public String getType()
      Get the type of this segment.
    • getValue

      public String getValue()
      Get the value of this segment.
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object