Package dev.restate.sdk.workflow.impl
Class WorkflowComponentBundle.Builder
- java.lang.Object
-
- dev.restate.sdk.workflow.impl.WorkflowComponentBundle.Builder
-
- Enclosing class:
- WorkflowComponentBundle
public static class WorkflowComponentBundle.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowComponentBundlebuild()<REQ,RES>
WorkflowComponentBundle.BuilderwithShared(dev.restate.sdk.dynrpc.JavaComponent.HandlerSignature<REQ,RES> sig, java.util.function.BiFunction<WorkflowSharedContext,REQ,RES> runner)
-
-
-
Method Detail
-
withShared
public <REQ,RES> WorkflowComponentBundle.Builder withShared(dev.restate.sdk.dynrpc.JavaComponent.HandlerSignature<REQ,RES> sig, java.util.function.BiFunction<WorkflowSharedContext,REQ,RES> runner)
-
build
public WorkflowComponentBundle build()
-
-