public interface FailJobCommandStep1
Modifier and Type | Interface and Description |
---|---|
static interface |
FailJobCommandStep1.FailJobCommandStep2 |
Modifier and Type | Method and Description |
---|---|
FailJobCommandStep1.FailJobCommandStep2 |
retries(int remainingRetries)
Set the remaining retries of this job.
|
FailJobCommandStep1.FailJobCommandStep2 retries(int remainingRetries)
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.
remainingRetries
- the remaining retries of this job (e.g. "jobEvent.getRetries() - 1")#send()
to complete the command and send it
to the broker.Copyright © 2017–2019 camunda services GmbH. All rights reserved.