@ProviderType
public interface JobExecutionResult
JobExecutor.
The job executor uses the JobExecutionContext to create a result object.
The result can have three states, succeeded, cancelled or failed whereas
failed means that the execution is potentially retried.| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelled()
If this returns true the job processing failed permanently.
|
boolean |
failed()
If this returns true the job processing failed but might be
retried..
|
java.lang.String |
getMessage()
Return the optional message.
|
java.lang.Long |
getRetryDelayInMs()
Return the retry delay in ms
|
boolean |
succeeded()
If this returns true the job processing finished successfully.
|
boolean succeeded()
cancelled() and failed() return
falsetrue for a successful processingboolean cancelled()
succeeded() and failed() return
falsetrue for a permanently failed processingboolean failed()
cancelled() and succeeded() return
falsetrue for a failedl processingjava.lang.String getMessage()
nulljava.lang.Long getRetryDelayInMs()
nullCopyright © 2010 - 2023 Adobe. All Rights Reserved