Interface JobExecutionContext.ResultBuilder

  • Enclosing interface:
    JobExecutionContext

    public static interface JobExecutionContext.ResultBuilder
    • Method Detail

      • succeeded

        JobExecutionResult succeeded()
        The job processing finished successfully.
        Returns:
        The job execution result.
      • failed

        JobExecutionResult failed()
        The job processing failed and might be retried.
        Returns:
        The job execution result.
      • failed

        JobExecutionResult failed​(long retryDelayInMs)
        The job processing failed and might be retried.
        Parameters:
        retryDelayInMs - The new retry delay in ms.
        Returns:
        The job execution result
      • cancelled

        JobExecutionResult cancelled()
        The job processing failed permanently.
        Returns:
        The job execution result