Package io.temporal.internal.replay
Class WorkflowTaskResult.Builder
- java.lang.Object
-
- io.temporal.internal.replay.WorkflowTaskResult.Builder
-
- Enclosing class:
- WorkflowTaskResult
public static final class WorkflowTaskResult.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowTaskResult
build()
WorkflowTaskResult.Builder
setCommands(java.util.List<io.temporal.api.command.v1.Command> commands)
WorkflowTaskResult.Builder
setFinalCommand(boolean finalCommand)
WorkflowTaskResult.Builder
setForceWorkflowTask(boolean forceWorkflowTask)
WorkflowTaskResult.Builder
setMessages(java.util.List<io.temporal.api.protocol.v1.Message> messages)
WorkflowTaskResult.Builder
setNonfirstLocalActivityAttempts(int nonfirstLocalActivityAttempts)
WorkflowTaskResult.Builder
setQueryResults(java.util.Map<java.lang.String,io.temporal.api.query.v1.WorkflowQueryResult> queryResults)
WorkflowTaskResult.Builder
setSdkFlags(java.util.List<java.lang.Integer> sdkFlags)
-
-
-
Method Detail
-
setCommands
public WorkflowTaskResult.Builder setCommands(java.util.List<io.temporal.api.command.v1.Command> commands)
-
setMessages
public WorkflowTaskResult.Builder setMessages(java.util.List<io.temporal.api.protocol.v1.Message> messages)
-
setFinalCommand
public WorkflowTaskResult.Builder setFinalCommand(boolean finalCommand)
-
setQueryResults
public WorkflowTaskResult.Builder setQueryResults(java.util.Map<java.lang.String,io.temporal.api.query.v1.WorkflowQueryResult> queryResults)
-
setForceWorkflowTask
public WorkflowTaskResult.Builder setForceWorkflowTask(boolean forceWorkflowTask)
-
setNonfirstLocalActivityAttempts
public WorkflowTaskResult.Builder setNonfirstLocalActivityAttempts(int nonfirstLocalActivityAttempts)
-
setSdkFlags
public WorkflowTaskResult.Builder setSdkFlags(java.util.List<java.lang.Integer> sdkFlags)
-
build
public WorkflowTaskResult build()
-
-