Package kalix.javasdk.workflowentity
Interface WorkflowEntity.Effect.PersistenceEffectBuilder<T>
- Enclosing interface:
- WorkflowEntity.Effect<T>
public static interface WorkflowEntity.Effect.PersistenceEffectBuilder<T>
-
Method Summary
Modifier and TypeMethodDescriptionend()Finish the workflow execution.pause()Pause the workflow execution and wait for an external input, e.g.transitionTo(String stepName) Set the step that should be executed.transitionTo(String stepName, I input) Set the step that should be executed.
-
Method Details
-
pause
Pause the workflow execution and wait for an external input, e.g. via command handler. -
transitionTo
@ApiMayChange <I> WorkflowEntity.Effect.TransitionalEffect<Void> transitionTo(String stepName, I input) Set the step that should be executed.- Parameters:
stepName- The step name that should be executed.input- The input param for the step.
-
transitionTo
Set the step that should be executed.- Parameters:
stepName- The step name that should be executed.
-
end
Finish the workflow execution.
-