Package io.camunda.client.api.command
Interface UpdateTimeoutJobCommandStep1
- All Superinterfaces:
CommandWithCommunicationApiStep<UpdateTimeoutJobCommandStep1>
- All Known Implementing Classes:
JobUpdateTimeoutCommandImpl
public interface UpdateTimeoutJobCommandStep1
extends CommandWithCommunicationApiStep<UpdateTimeoutJobCommandStep1>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptiontimeout(long timeout) Set the timeout of this job.Set the timeout of this job.Methods inherited from interface io.camunda.client.api.command.CommandWithCommunicationApiStep
useGrpc, useRest
-
Method Details
-
timeout
Set the timeout of this job.Timeout value in millis is used to calculate a new job deadline. This will happen when the command is processed. The timeout value will be added to the current time then.
- Parameters:
timeout- the timeout of this job- Returns:
- the builder for this command. Call
to complete the command and send it to the broker.
invalid reference
#send()
-
timeout
Set the timeout of this job.Timeout value passed as a duration is used to calculate a new job deadline. This will happen when the command is processed. The timeout value will be added to the current time then.
- Parameters:
timeout- the time as duration (e.g. "Duration.ofMinutes(5)")- Returns:
- the builder for this command. Call
to complete the command and send it to the broker.
invalid reference
#send()
-