Package io.temporal.client.schedules
Class ScheduleActionStartWorkflow.Builder
- java.lang.Object
-
- io.temporal.client.schedules.ScheduleActionStartWorkflow.Builder
-
- Enclosing class:
- ScheduleActionStartWorkflow
public static class ScheduleActionStartWorkflow.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleActionStartWorkflow
build()
ScheduleActionStartWorkflow.Builder
setArguments(java.lang.Object... arguments)
Set the workflow arguments to use when starting a workflow action.ScheduleActionStartWorkflow.Builder
setHeader(Header header)
Set the headers sent with each workflow scheduled.ScheduleActionStartWorkflow.Builder
setOptions(WorkflowOptions options)
Set the workflow options to use when starting a workflow action.ScheduleActionStartWorkflow.Builder
setRawArguments(EncodedValues values)
Set the workflow arguments to use when starting a workflow action.<T> ScheduleActionStartWorkflow.Builder
setWorkflowType(java.lang.Class<T> workflowInterface)
Set the workflow type.ScheduleActionStartWorkflow.Builder
setWorkflowType(java.lang.String workflowType)
Set the name of the workflow type
-
-
-
Method Detail
-
setWorkflowType
public ScheduleActionStartWorkflow.Builder setWorkflowType(java.lang.String workflowType)
Set the name of the workflow type
-
setWorkflowType
public <T> ScheduleActionStartWorkflow.Builder setWorkflowType(java.lang.Class<T> workflowInterface)
Set the workflow type. workflowInterface must implement a WorkflowInterface
-
setOptions
public ScheduleActionStartWorkflow.Builder setOptions(WorkflowOptions options)
Set the workflow options to use when starting a workflow action.
-
setHeader
public ScheduleActionStartWorkflow.Builder setHeader(Header header)
Set the headers sent with each workflow scheduled.
-
setRawArguments
public ScheduleActionStartWorkflow.Builder setRawArguments(EncodedValues values)
Set the workflow arguments to use when starting a workflow action.
-
setArguments
public ScheduleActionStartWorkflow.Builder setArguments(java.lang.Object... arguments)
Set the workflow arguments to use when starting a workflow action.
-
build
public ScheduleActionStartWorkflow build()
-
-