Class WorkflowTargetOptions.Builder

  • Enclosing class:
    WorkflowTargetOptions

    public static final class WorkflowTargetOptions.Builder
    extends java.lang.Object
    • Method Detail

      • setWorkflowId

        public WorkflowTargetOptions.Builder setWorkflowId​(java.lang.String workflowId)
        Sets the workflowId of the target workflow.
      • setFirstExecutionRunId

        public WorkflowTargetOptions.Builder setFirstExecutionRunId​(java.lang.String firstExecutionRunId)
        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.