Package io.zeebe.client.api.command
Interface FailJobCommandStep1
-
- All Known Implementing Classes:
FailJobCommandImpl
public interface FailJobCommandStep1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
FailJobCommandStep1.FailJobCommandStep2
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FailJobCommandStep1.FailJobCommandStep2
retries(int remainingRetries)
Set the remaining retries of this job.
-
-
-
Method Detail
-
retries
FailJobCommandStep1.FailJobCommandStep2 retries(int remainingRetries)
Set the remaining retries of this job.If the retries are greater than zero then this job will be picked up again by a job subscription. Otherwise, an incident is created for this job.
- Parameters:
remainingRetries
- the remaining retries of this job (e.g. "jobEvent.getRetries() - 1")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
-