Package io.zeebe.client.api.command
Interface CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3
-
- All Superinterfaces:
FinalCommandStep<WorkflowInstanceEvent>
- All Known Implementing Classes:
CreateWorkflowInstanceCommandImpl
- Enclosing interface:
- CreateWorkflowInstanceCommandStep1
public static interface CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3 extends FinalCommandStep<WorkflowInstanceEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3
variables(InputStream variables)
Set the initial variables of the workflow instance.CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3
variables(Object variables)
Set the initial variables of the workflow instance.CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3
variables(String variables)
Set the initial variables of the workflow instance.CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3
variables(Map<String,Object> variables)
Set the initial variables of the workflow instance.CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceWithResultCommandStep1
withResult()
When this method is called, the response to the command will be received after the workflow is completed.-
Methods inherited from interface io.zeebe.client.api.command.FinalCommandStep
requestTimeout, send
-
-
-
-
Method Detail
-
variables
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3 variables(InputStream variables)
Set the initial variables of the workflow instance.- Parameters:
variables
- the variables JSON document as stream- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3 variables(String variables)
Set the initial variables of the workflow instance.- Parameters:
variables
- the variables JSON document as String- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3 variables(Map<String,Object> variables)
Set the initial variables of the workflow instance.- Parameters:
variables
- the variables document as map- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3 variables(Object variables)
Set the initial variables of the workflow instance.- Parameters:
variables
- the variables document as object to be serialized to JSON- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
withResult
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceWithResultCommandStep1 withResult()
When this method is called, the response to the command will be received after the workflow is completed. The response consists of a set of variables.- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker
-
-