Package io.camunda.client.api.command
Interface SetVariablesCommandStep1
- All Superinterfaces:
CommandWithCommunicationApiStep<SetVariablesCommandStep1>,CommandWithVariables<SetVariablesCommandStep1.SetVariablesCommandStep2>
- All Known Implementing Classes:
SetVariablesCommandImpl
public interface SetVariablesCommandStep1
extends CommandWithCommunicationApiStep<SetVariablesCommandStep1>, CommandWithVariables<SetVariablesCommandStep1.SetVariablesCommandStep2>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionSet a single variable.variables(InputStream variables) Sets the variables document from a JSON stream.Sets the variables document from an object, which will be serialized into a JSON document.Sets the variables document from a JSON string.Sets the variables document from a map.Methods inherited from interface io.camunda.client.api.command.CommandWithCommunicationApiStep
useGrpc, useRest
-
Method Details
-
variables
Sets the variables document from a JSON string.- Specified by:
variablesin interfaceCommandWithVariables<SetVariablesCommandStep1.SetVariablesCommandStep2>- Parameters:
variables- the variables JSON document as String- Returns:
- the builder for this command. Call
to complete the command and send it to the broker.
invalid reference
#send()
-
variables
Sets the variables document from an object, which will be serialized into a JSON document.- Specified by:
variablesin interfaceCommandWithVariables<SetVariablesCommandStep1.SetVariablesCommandStep2>- Parameters:
variables- the variables document as object- Returns:
- the builder for this command. Call
to complete the command and send it to the broker.
invalid reference
#send()
-
variables
Sets the variables document from a JSON stream.- Specified by:
variablesin interfaceCommandWithVariables<SetVariablesCommandStep1.SetVariablesCommandStep2>- Parameters:
variables- the variables JSON document as stream- Returns:
- the builder for this command. Call
to complete the command and send it to the broker.
invalid reference
#send()
-
variables
Sets the variables document from a map.- Specified by:
variablesin interfaceCommandWithVariables<SetVariablesCommandStep1.SetVariablesCommandStep2>- Parameters:
variables- the variables document as map- Returns:
- the builder for this command. Call
to complete the command and send it to the broker.
invalid reference
#send()
-
variable
Set a single variable.- Specified by:
variablein interfaceCommandWithVariables<SetVariablesCommandStep1.SetVariablesCommandStep2>- Parameters:
key- the key of the variable as stringvalue- the value of the variable as object- Returns:
- the builder for this command. Call
to complete the command and send it to the broker.
invalid reference
#send()
-