Class ActivityStorageTargets.Builder
java.lang.Object
io.temporal.internal.payload.storage.ActivityStorageTargets.Builder
- Enclosing class:
ActivityStorageTargets
-
Method Summary
Modifier and TypeMethodDescriptionbuild()An activity scheduled by a workflow targets that workflow; a standalone activity targets itself.setActivity(String activityId, String activityRunId, String activityType) setWorkflow(String workflowId, String workflowRunId, String workflowType)
-
Method Details
-
setActivity
public ActivityStorageTargets.Builder setActivity(@Nullable String activityId, @Nullable String activityRunId, @Nullable String activityType) -
setWorkflow
public ActivityStorageTargets.Builder setWorkflow(@Nullable String workflowId, @Nullable String workflowRunId, @Nullable String workflowType) -
build
An activity scheduled by a workflow targets that workflow; a standalone activity targets itself. A workflow id is present only in the former case.
-