Package akka.javasdk.testkit
Interface EvaluatorResult
public interface EvaluatorResult
Represents the result of an Evaluator handling an evaluation when run through the testkit.
Not for user extension, returned by the testkit.
-
Method Summary
Modifier and TypeMethodDescriptionakka.javasdk.evaluation.Evaluationbooleanboolean
-
Method Details
-
isComplete
boolean isComplete()- Returns:
- true if the evaluation completed with a verdict
-
isInconclusive
boolean isInconclusive()- Returns:
- true if the evaluation was inconclusive
-
getEvaluation
akka.javasdk.evaluation.Evaluation getEvaluation()- Returns:
- the verdict the evaluation completed with, or throws if it was not complete
-
getInconclusiveReason
String getInconclusiveReason()- Returns:
- the reason the evaluation was inconclusive, or throws if it was not inconclusive
-