Class WorkflowTargetOptions.Builder
java.lang.Object
io.temporal.client.WorkflowTargetOptions.Builder
- Enclosing class:
WorkflowTargetOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setFirstExecutionRunId(String firstExecutionRunId) Sets the runId of the first execution of a workflow.Sets the runId of a specific execution of a workflow.setWorkflowExecution(io.temporal.api.common.v1.WorkflowExecution execution) Sets both workflowId and runId from a WorkflowExecution object.setWorkflowId(String workflowId) Sets the workflowId of the target workflow.
-
Method Details
-
setWorkflowId
Sets the workflowId of the target workflow. -
setRunId
Sets the runId of a specific execution of a workflow. -
setFirstExecutionRunId
Sets the runId of the first execution of a workflow. This is useful for targeting workflows that have been continued as new. -
setWorkflowExecution
public WorkflowTargetOptions.Builder setWorkflowExecution(io.temporal.api.common.v1.WorkflowExecution execution) Sets both workflowId and runId from a WorkflowExecution object. -
build
-