Interface ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep3
- All Superinterfaces:
CommandWithOperationReferenceStep<ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep2>
,FinalCommandStep<ModifyProcessInstanceResponse>
,ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep2
- All Known Implementing Classes:
ModifyProcessInstanceCommandImpl
- Enclosing interface:
ModifyProcessInstanceCommandStep1
public static interface ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep3
extends ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep2
-
Method Summary
Modifier and TypeMethodDescriptionwithVariable
(String key, Object value) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated.withVariable
(String key, Object value, String scopeId) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated.withVariables
(InputStream variables) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated.withVariables
(InputStream variables, String scopeId) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated.withVariables
(Object variables) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated.withVariables
(Object variables, String scopeId) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated.withVariables
(String variables) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated.withVariables
(String variables, String scopeId) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated.withVariables
(Map<String, Object> variables) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated.withVariables
(Map<String, Object> variables, String scopeId) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated.Methods inherited from interface io.camunda.zeebe.client.api.command.CommandWithOperationReferenceStep
operationReference
Methods inherited from interface io.camunda.zeebe.client.api.command.FinalCommandStep
requestTimeout, send
Methods inherited from interface io.camunda.zeebe.client.api.command.ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep2
and
-
Method Details
-
withVariables
ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep3 withVariables(InputStream variables) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated. These variables will be created in the global scope of the process instance.- Parameters:
variables
- the variables JSON document as stream- Returns:
- the builder for this command
-
withVariables
ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep3 withVariables(InputStream variables, String scopeId) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated. These variables will be created in the scope of the passed element.- Parameters:
variables
- the variables JSON document as streamscopeId
- the id of the element in which scope the variables should be created- Returns:
- the builder for this command
-
withVariables
Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated. These variables will be created in the global scope of the process instance.- Parameters:
variables
- the variables JSON document as String- Returns:
- the builder for this command
-
withVariables
ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep3 withVariables(String variables, String scopeId) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated. These variables will be created in the scope of the passed element.- Parameters:
variables
- the variables JSON document as StringscopeId
- the id of the element in which scope the variables should be created- Returns:
- the builder for this command
-
withVariables
ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep3 withVariables(Map<String, Object> variables) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated. These variables will be created in the global scope of the process instance.- Parameters:
variables
- the variables JSON document as map- Returns:
- the builder for this command
-
withVariables
ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep3 withVariables(Map<String, Object> variables, String scopeId) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated. These variables will be created in the scope of the passed element.- Parameters:
variables
- the variables JSON document as mapscopeId
- the id of the element in which scope the variables should be created- Returns:
- the builder for this command
-
withVariables
Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated. These variables will be created in the global scope of the process instance.- Parameters:
variables
- the variables document as object to be serialized to JSON- Returns:
- the builder for this command
-
withVariables
ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep3 withVariables(Object variables, String scopeId) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated. These variables will be created in the scope of the passed element.- Parameters:
variables
- the variables document as object to be serialized to JSONscopeId
- the id of the element in which scope the variables should be created- Returns:
- the builder for this command
-
withVariable
ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep3 withVariable(String key, Object value) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated. This variable will be created in the global scope of the process instance.- Parameters:
key
- the key of the variable to be serialized to JSONvalue
- the value of the variable to be serialized to JSON- Returns:
- the builder for this command
-
withVariable
ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep3 withVariable(String key, Object value, String scopeId) Create aGatewayOuterClass.ModifyProcessInstanceRequest.VariableInstruction
for the element that's getting activated. This variable will be created in the scope of the passed element.- Parameters:
key
- the key of the variable to be serialized to JSONvalue
- the value of the variable to be serialized to JSONscopeId
- the id of the element in which scope the variable should be created- Returns:
- the builder for this command
-