Interface DurableEvaluator.Effect

Enclosing class:
DurableEvaluator<S>

public static interface DurableEvaluator.Effect
An Effect is a description of what the runtime needs to do after `onEvaluation` or a step method is handled.

An Effect can either:

  • update the state of the evaluation
  • transition to the next step
  • complete the evaluation with an Evaluation (the verdict)
  • report that the evaluation was inconclusive: it ran but reached no verdict

Completing (or reporting inconclusive) records the outcome and cleans up the evaluation instance; no further transitions are possible.