Package com.tngtech.jgiven.report.model
Record Class Tag.TagClass
java.lang.Object
java.lang.Record
com.tngtech.jgiven.report.model.Tag.TagClass
- All Implemented Interfaces:
StringWrapper
- Enclosing class:
Tag
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.tngtech.jgiven.report.model.StringWrapper
StringWrapper.StringWrapperConverter<T extends StringWrapper> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fqcn()Returns the value of thefqcnrecord component.final inthashCode()Returns a hash code value for this object.static Tag.TagClassfinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TagClass
Creates an instance of aTagClassrecord class.- Parameters:
fqcn- the value for thefqcnrecord component
-
-
Method Details
-
tagClass
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
fqcn
Returns the value of thefqcnrecord component.- Returns:
- the value of the
fqcnrecord component
-