public static interface JobExecutionContext.ResultBuilder
Modifier and Type | Method and Description |
---|---|
JobExecutionResult |
cancelled()
The job processing failed permanently.
|
JobExecutionResult |
failed()
The job processing failed and might be retried.
|
JobExecutionResult |
failed(long retryDelayInMs)
The job processing failed and might be retried.
|
JobExecutionContext.ResultBuilder |
message(java.lang.String message)
Add an optional processing message.
|
JobExecutionResult |
succeeded()
The job processing finished successfully.
|
JobExecutionContext.ResultBuilder message(java.lang.String message)
Job.getResultMessage()
.message
- The messageJobExecutionResult succeeded()
JobExecutionResult failed()
JobExecutionResult failed(long retryDelayInMs)
retryDelayInMs
- The new retry delay in ms.JobExecutionResult cancelled()
Copyright © 2010 - 2020 Adobe. All Rights Reserved