Package akka.javasdk.testkit.eval
Record Class ExperimentRunner.CaseSummary
- Record Components:
caseId- the case idattempts- the case's results, one per run, runs ascending
- Enclosing class:
ExperimentRunner
public static record ExperimentRunner.CaseSummary(String caseId, List<ExperimentRunner.CaseResult> attempts)
extends Record
One case over all its runs.
-
Constructor Summary
ConstructorsConstructorDescriptionCaseSummary(String caseId, List<ExperimentRunner.CaseResult> attempts) Creates an instance of aCaseSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionattempts()Returns the value of theattemptsrecord component.caseId()Returns the value of thecaseIdrecord component.final booleanIndicates whether some other object is "equal to" this one.intRuns with the verdict FAIL.final inthashCode()Returns a hash code value for this object.intRuns with the verdict INCONCLUSIVE.outcome()The outcome over all runs.intRuns with the verdict PASS.The case's requirements over all runs, seeExperimentRunner.RequirementSummary.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
outcome
The outcome over all runs. -
passedRuns
public int passedRuns()Runs with the verdict PASS. -
failedRuns
public int failedRuns()Runs with the verdict FAIL. -
inconclusiveRuns
public int inconclusiveRuns()Runs with the verdict INCONCLUSIVE. -
requirements
The case's requirements over all runs, seeExperimentRunner.RequirementSummary. -
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). -
caseId
Returns the value of thecaseIdrecord component.- Returns:
- the value of the
caseIdrecord component
-
attempts
Returns the value of theattemptsrecord component.- Returns:
- the value of the
attemptsrecord component
-