Package org.acemq.workloads.endurance
Record Class Endurance.Result
java.lang.Object
java.lang.Record
org.acemq.workloads.endurance.Endurance.Result
- Enclosing class:
Endurance
public static record Endurance.Result(String stamp, Verdict verdict, Path report, Path json, Path readings, List<Reading> all)
extends Record
What the run found and where it wrote it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()Returns the value of theallrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.json()Returns the value of thejsonrecord component.readings()Returns the value of thereadingsrecord component.report()Returns the value of thereportrecord component.stamp()Returns the value of thestamprecord component.final StringtoString()Returns a string representation of this record class.verdict()Returns the value of theverdictrecord component.
-
Constructor Details
-
Result
public Result(String stamp, Verdict verdict, Path report, Path json, Path readings, List<Reading> all) Creates an instance of aResultrecord class.- Parameters:
stamp- the value for thestamprecord componentverdict- the value for theverdictrecord componentreport- the value for thereportrecord componentjson- the value for thejsonrecord componentreadings- the value for thereadingsrecord componentall- the value for theallrecord 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). -
stamp
Returns the value of thestamprecord component.- Returns:
- the value of the
stamprecord component
-
verdict
Returns the value of theverdictrecord component.- Returns:
- the value of the
verdictrecord component
-
report
Returns the value of thereportrecord component.- Returns:
- the value of the
reportrecord component
-
json
Returns the value of thejsonrecord component.- Returns:
- the value of the
jsonrecord component
-
readings
Returns the value of thereadingsrecord component.- Returns:
- the value of the
readingsrecord component
-
all
Returns the value of theallrecord component.- Returns:
- the value of the
allrecord component
-