Package kalix.javasdk.workflowentity
Class WorkflowEntity.StepBuilder.CallStepBuilder<Input,DefCallInput,DefCallOutput>
Object
kalix.javasdk.workflowentity.WorkflowEntity.StepBuilder.CallStepBuilder<Input,DefCallInput,DefCallOutput>
- Enclosing class:
- WorkflowEntity.StepBuilder
public static class WorkflowEntity.StepBuilder.CallStepBuilder<Input,DefCallInput,DefCallOutput>
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionCallStepBuilder(String name, Function<Input, DeferredCall<DefCallInput, DefCallOutput>> callFunc) -
Method Summary
Modifier and TypeMethodDescriptionandThen(Function<DefCallOutput, WorkflowEntity.Effect.TransitionalEffect<Void>> transitionFunc) Transition to the next step based on the result of the step action.
-
Constructor Details
-
CallStepBuilder
public CallStepBuilder(String name, Function<Input, DeferredCall<DefCallInput, DefCallOutput>> callFunc)
-
-
Method Details
-
andThen
@ApiMayChange public WorkflowEntity.CallStep<Input,DefCallInput, andThenDefCallOutput, ?> (Function<DefCallOutput, WorkflowEntity.Effect.TransitionalEffect<Void>> transitionFunc) Transition to the next step based on the result of the step action.- Parameters:
transitionFunc- Function that transform the action result to aWorkflowEntity.Effect.TransitionalEffect- Returns:
- CallStep
-