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(String message)
Add an optional processing message.
|
JobExecutionResult |
succeeded()
The job processing finished successfully.
|
JobExecutionContext.ResultBuilder message(String message)
Job.getResultMessage()
.JobExecutionResult succeeded()
JobExecutionResult failed()
JobExecutionResult failed(long retryDelayInMs)
retryDelayInMs
- The new retry delay in ms.JobExecutionResult cancelled()
Copyright © 2014 The Apache Software Foundation. All rights reserved.