Package net.javasauce.ss.util
Record Class CommittedTestCaseDef
java.lang.Object
java.lang.Record
net.javasauce.ss.util.CommittedTestCaseDef
public record CommittedTestCaseDef(String commit, String commitTitle, TestCaseDef def)
extends Record
Created by covers1624 on 6/18/25.
-
Constructor Summary
ConstructorsConstructorDescriptionCommittedTestCaseDef(String commit, String commitTitle, TestCaseDef def) Creates an instance of aCommittedTestCaseDefrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncommit()Returns the value of thecommitrecord component.Returns the value of thecommitTitlerecord component.def()Returns the value of thedefrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CommittedTestCaseDef
Creates an instance of aCommittedTestCaseDefrecord class.- Parameters:
commit- the value for thecommitrecord componentcommitTitle- the value for thecommitTitlerecord componentdef- the value for thedefrecord component
-
-
Method Details
-
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). -
commit
Returns the value of thecommitrecord component.- Returns:
- the value of the
commitrecord component
-
commitTitle
Returns the value of thecommitTitlerecord component.- Returns:
- the value of the
commitTitlerecord component
-
def
Returns the value of thedefrecord component.- Returns:
- the value of the
defrecord component
-