Class ScheduleActionStartWorkflow.Builder
java.lang.Object
io.temporal.client.schedules.ScheduleActionStartWorkflow.Builder
- Enclosing class:
ScheduleActionStartWorkflow
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setArguments(Object... arguments) Set the workflow arguments to use when starting a workflow action.Set the headers sent with each workflow scheduled.setOptions(WorkflowOptions options) Set the workflow options to use when starting a workflow action.setRawArguments(EncodedValues values) Set the workflow arguments to use when starting a workflow action.setWorkflowType(Class<T> workflowInterface) Set the workflow type.setWorkflowType(String workflowType) Set the name of the workflow type
-
Method Details
-
setWorkflowType
Set the name of the workflow type -
setWorkflowType
Set the workflow type. workflowInterface must implement a WorkflowInterface -
setOptions
Set the workflow options to use when starting a workflow action.Note: ID and TaskQueue are required. Some options like ID reuse policy, cron schedule, and start signal cannot be set or an error will occur. Schedules requires the use of typed search attributes and untyped search attributes will be ignored.
-
setHeader
Set the headers sent with each workflow scheduled. -
setRawArguments
Set the workflow arguments to use when starting a workflow action. -
setArguments
Set the workflow arguments to use when starting a workflow action. -
build
-