Interface FailJobCommandStep1

    • 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.