Interface FailJobCommandStep1
- All Known Implementing Classes:
FailJobCommandImpl
public interface FailJobCommandStep1
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionretries
(int remainingRetries) Set the remaining retries of this job.
-
Method Details
-
retries
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.
-