Package akka.javasdk.testkit.eval
Record Class ReportDocument.EvaluatorCounts
- Record Components:
evaluator- the evaluator component id,ExperimentRunner.TARGETorExperimentRunner.GUARDRAILfor a result the runner reports itself, orExperimentRunner.EXPECTEDfor the comparison of the reply with the expected replypassed- results with the verdict PASSfailed- results with the verdict FAILinconclusive- results with the verdict INCONCLUSIVEnotApplicable- results with the verdict NOT_APPLICABLE
- Enclosing class:
ReportDocument
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluatorCounts(String evaluator, int passed, int failed, int inconclusive, int notApplicable) Creates an instance of aEvaluatorCountsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theevaluatorrecord component.intfailed()Returns the value of thefailedrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of theinconclusiverecord component.intReturns the value of thenotApplicablerecord component.intpassed()Returns the value of thepassedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EvaluatorCounts
public EvaluatorCounts(String evaluator, int passed, int failed, int inconclusive, int notApplicable) Creates an instance of aEvaluatorCountsrecord class.- Parameters:
evaluator- the value for theevaluatorrecord componentpassed- the value for thepassedrecord componentfailed- the value for thefailedrecord componentinconclusive- the value for theinconclusiverecord componentnotApplicable- the value for thenotApplicablerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
evaluator
Returns the value of theevaluatorrecord component.- Returns:
- the value of the
evaluatorrecord component
-
passed
public int passed()Returns the value of thepassedrecord component.- Returns:
- the value of the
passedrecord component
-
failed
public int failed()Returns the value of thefailedrecord component.- Returns:
- the value of the
failedrecord component
-
inconclusive
public int inconclusive()Returns the value of theinconclusiverecord component.- Returns:
- the value of the
inconclusiverecord component
-
notApplicable
public int notApplicable()Returns the value of thenotApplicablerecord component.- Returns:
- the value of the
notApplicablerecord component
-