Package dev.dokimos.server.dto.v1
Record Class ExperimentSummary.LatestRunInfo
java.lang.Object
java.lang.Record
dev.dokimos.server.dto.v1.ExperimentSummary.LatestRunInfo
- Enclosing class:
ExperimentSummary
-
Constructor Summary
ConstructorsConstructorDescriptionLatestRunInfo(UUID runId, RunStatus status, Double passRate, Instant startedAt) Creates an instance of aLatestRunInforecord 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.passRate()Returns the value of thepassRaterecord component.runId()Returns the value of therunIdrecord component.Returns the value of thestartedAtrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LatestRunInfo
Creates an instance of aLatestRunInforecord class.- Parameters:
runId- the value for therunIdrecord componentstatus- the value for thestatusrecord componentpassRate- the value for thepassRaterecord componentstartedAt- the value for thestartedAtrecord 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). -
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
passRate
Returns the value of thepassRaterecord component.- Returns:
- the value of the
passRaterecord component
-
startedAt
Returns the value of thestartedAtrecord component.- Returns:
- the value of the
startedAtrecord component
-