Package akka.javasdk.evaluation
Interface Evaluator.Effect.Builder
- Enclosing interface:
Evaluator.Effect
public static interface Evaluator.Effect.Builder
Construct the effect that is returned by the evaluation handler. The effect describes the
outcome of the evaluation.
-
Method Summary
Modifier and TypeMethodDescriptioncomplete(Evaluation evaluation) Complete the evaluation with its verdict.inconclusive(String reason) Report that the evaluation was inconclusive.
-
Method Details
-
complete
Complete the evaluation with its verdict.- Parameters:
evaluation- the evaluation outcome- Returns:
- the complete effect
-
inconclusive
Report that the evaluation was inconclusive.Use this when the evaluator ran but could not reach a verdict, for example there was no transcript or the interaction was not applicable.
- Parameters:
reason- why the evaluation was inconclusive- Returns:
- the inconclusive effect
-