Package io.camunda.client.api.command
Interface CompleteJobCommandStep1
- All Superinterfaces:
CommandWithCommunicationApiStep<CompleteJobCommandStep1>,CommandWithVariables<CompleteJobCommandStep1>,FinalCommandStep<CompleteJobResponse>
- All Known Implementing Classes:
CompleteJobCommandImpl
public interface CompleteJobCommandStep1
extends CommandWithCommunicationApiStep<CompleteJobCommandStep1>, FinalCommandStep<CompleteJobResponse>, CommandWithVariables<CompleteJobCommandStep1>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionSet a single variable to complete the job with.variables(InputStream variables) Set the variables to complete the job with.Set the variables to complete the job with.Set the variables to complete the job with.Set the variables to complete the job with.withResult(Function<CompleteJobCommandStep1.CompleteJobCommandJobResultStep, CompleteJobResult> consumer) Initializes the job result to allow followup actions to be configured.Methods inherited from interface io.camunda.client.api.command.CommandWithCommunicationApiStep
useGrpc, useRestMethods inherited from interface io.camunda.client.api.command.FinalCommandStep
execute, requestTimeout, send
-
Method Details
-
variables
Set the variables to complete the job with.- Specified by:
variablesin interfaceCommandWithVariables<CompleteJobCommandStep1>- Parameters:
variables- the variables (JSON) as String- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
variables
Set the variables to complete the job with.- Specified by:
variablesin interfaceCommandWithVariables<CompleteJobCommandStep1>- Parameters:
variables- the variables as object- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
variables
Set the variables to complete the job with.- Specified by:
variablesin interfaceCommandWithVariables<CompleteJobCommandStep1>- Parameters:
variables- the variables (JSON) as stream- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
variables
Set the variables to complete the job with.- Specified by:
variablesin interfaceCommandWithVariables<CompleteJobCommandStep1>- Parameters:
variables- the variables as map- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
variable
Set a single variable to complete the job with.- Specified by:
variablein interfaceCommandWithVariables<CompleteJobCommandStep1>- Parameters:
key- the key of the variable as stringvalue- the value of the variable as object- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
withResult
CompleteJobCommandStep1 withResult(Function<CompleteJobCommandStep1.CompleteJobCommandJobResultStep, CompleteJobResult> consumer) Initializes the job result to allow followup actions to be configured.- Returns:
- the builder for this command.
-