Package kalix.javasdk.workflow
Class AbstractWorkflow.CallStep<CallInput,DefCallInput,DefCallOutput,FailoverInput>
Object
kalix.javasdk.workflow.AbstractWorkflow.CallStep<CallInput,DefCallInput,DefCallOutput,FailoverInput>
- All Implemented Interfaces:
AbstractWorkflow.Step
- Enclosing class:
- AbstractWorkflow<S>
public static class AbstractWorkflow.CallStep<CallInput,DefCallInput,DefCallOutput,FailoverInput>
extends Object
implements AbstractWorkflow.Step
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCallStep
(String name, Class<CallInput> callInputClass, Function<CallInput, DeferredCall<DefCallInput, DefCallOutput>> callFunc, Class<DefCallOutput> transitionInputClass, Function<DefCallOutput, AbstractWorkflow.Effect.TransitionalEffect<Void>> transitionFunc) -
Method Summary
-
Field Details
-
callFunc
-
transitionFunc
public final Function<DefCallOutput,AbstractWorkflow.Effect.TransitionalEffect<Void>> transitionFunc -
callInputClass
-
transitionInputClass
-
-
Constructor Details
-
CallStep
public CallStep(String name, Class<CallInput> callInputClass, Function<CallInput, DeferredCall<DefCallInput, DefCallOutput>> callFunc, Class<DefCallOutput> transitionInputClass, Function<DefCallOutput, AbstractWorkflow.Effect.TransitionalEffect<Void>> transitionFunc)
-
-
Method Details
-
name
- Specified by:
name
in interfaceAbstractWorkflow.Step
-
timeout
- Specified by:
timeout
in interfaceAbstractWorkflow.Step
-
timeout
public AbstractWorkflow.CallStep<CallInput,DefCallInput, timeoutDefCallOutput, FailoverInput> (Duration timeout) Define a step timeout.
-