Package akka.javasdk.evaluation
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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceConstruct the effect that is returned byDurableEvaluator.onEvaluation(akka.javasdk.evaluation.EvaluationContext)or a step method.static interfaceEffect builder after the state was updated, for defining the follow-up transition.