Record Class RunHistoryStore.HistoryRun
java.lang.Object
java.lang.Record
io.github.mov2day.unifiedtest.intelligence.RunHistoryStore.HistoryRun
- Enclosing class:
RunHistoryStore
-
Constructor Summary
ConstructorsConstructorDescriptionHistoryRun(String runId, String timestamp, String taskName, List<RunHistoryStore.HistoryTest> tests) Creates an instance of aHistoryRunrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.runId()Returns the value of therunIdrecord component.taskName()Returns the value of thetaskNamerecord component.tests()Returns the value of thetestsrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HistoryRun
public HistoryRun(String runId, String timestamp, String taskName, List<RunHistoryStore.HistoryTest> tests) Creates an instance of aHistoryRunrecord class.- Parameters:
runId- the value for therunIdrecord componenttimestamp- the value for thetimestamprecord componenttaskName- the value for thetaskNamerecord componenttests- the value for thetestsrecord component
-
-
Method Details
-
displayTask
-
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). -
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
taskName
Returns the value of thetaskNamerecord component.- Returns:
- the value of the
taskNamerecord component
-
tests
Returns the value of thetestsrecord component.- Returns:
- the value of the
testsrecord component
-