Package akka.javasdk.testkit.eval
Record Class ReportDocument.EvaluatorCounts
- Record Components:
evaluator- the evaluator label; a custom evaluator carries theEvaluators.CUSTOM_PREFIX, andEvaluators.TARGETandEvaluators.SETUPare reported by the runner when an attempt did not reach evaluationpassed- results with the verdict PASSfailed- results with the verdict FAILinconclusive- results with the verdict INCONCLUSIVE
- Enclosing class:
ReportDocument
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluatorCounts(String evaluator, int passed, int failed, int inconclusive) 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.intpassed()Returns the value of thepassedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EvaluatorCounts
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 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
-