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