Package kalix.javasdk.workflowentity
Class WorkflowEntity.StepBuilder
Object
kalix.javasdk.workflowentity.WorkflowEntity.StepBuilder
- Enclosing class:
- WorkflowEntity<S>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<Input,Output>
WorkflowEntity.StepBuilder.AsyncCallStepBuilder<Input,Output> asyncCall(Function<Input, CompletionStage<Output>> callFactory) Build a step action with an async call.<Output> WorkflowEntity.StepBuilder.AsyncCallStepBuilder<Void,Output> asyncCall(Supplier<CompletionStage<Output>> callSupplier) Build a step action with an async call.<Input,DefCallInput, DefCallOutput>
WorkflowEntity.StepBuilder.CallStepBuilder<Input,DefCallInput, DefCallOutput> call(Function<Input, DeferredCall<DefCallInput, DefCallOutput>> callFactory) Build a step action with a call to an existing Kalix component viaDeferredCall.<DefCallInput,DefCallOutput>
WorkflowEntity.StepBuilder.CallStepBuilder<Void,DefCallInput, DefCallOutput> call(Supplier<DeferredCall<DefCallInput, DefCallOutput>> callSupplier) Build a step action with a call to an existing Kalix component viaDeferredCall.
-
Constructor Details
-
StepBuilder
-
-
Method Details
-
call
@ApiMayChange public <Input,DefCallInput, WorkflowEntity.StepBuilder.CallStepBuilder<Input,DefCallOutput> DefCallInput, callDefCallOutput> (Function<Input, DeferredCall<DefCallInput, DefCallOutput>> callFactory) Build a step action with a call to an existing Kalix component viaDeferredCall.- Type Parameters:
Input- Input for deferred call factory, provided by transition method.DefCallInput- Input for deferred call.DefCallOutput- Output of deferred call.- Parameters:
callFactory- Factory method for creating deferred call.- Returns:
- Step builder.
-
call
@ApiMayChange public <DefCallInput,DefCallOutput> WorkflowEntity.StepBuilder.CallStepBuilder<Void,DefCallInput, callDefCallOutput> (Supplier<DeferredCall<DefCallInput, DefCallOutput>> callSupplier) Build a step action with a call to an existing Kalix component viaDeferredCall.- Type Parameters:
DefCallInput- Input for deferred call.DefCallOutput- Output of deferred call.- Parameters:
callSupplier- Factory method for creating deferred call.- Returns:
- Step builder.
-
asyncCall
@ApiMayChange public <Input,Output> WorkflowEntity.StepBuilder.AsyncCallStepBuilder<Input,Output> asyncCall(Function<Input, CompletionStage<Output>> callFactory) Build a step action with an async call.- Type Parameters:
Input- Input for async call factory, provided by transition method.Output- Output of async call.- Parameters:
callFactory- Factory method for creating async call.- Returns:
- Step builder.
-
asyncCall
@ApiMayChange public <Output> WorkflowEntity.StepBuilder.AsyncCallStepBuilder<Void,Output> asyncCall(Supplier<CompletionStage<Output>> callSupplier) Build a step action with an async call.- Type Parameters:
Output- Output of async call.- Parameters:
callSupplier- Factory method for creating async call.- Returns:
- Step builder.
-