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 Details

    • complete

      Evaluator.Effect complete(Evaluation evaluation)
      Complete the evaluation with its verdict.
      Parameters:
      evaluation - the evaluation outcome
      Returns:
      the complete effect
    • inconclusive

      Evaluator.Effect inconclusive(String reason)
      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