@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
false
true
for a successful processingboolean cancelled()
succeeded()
and failed()
return
false
true
for a permanently failed processingboolean failed()
cancelled()
and succeeded()
return
false
true
for a failedl processingjava.lang.String getMessage()
null
java.lang.Long getRetryDelayInMs()
null
Copyright © 2010 - 2020 Adobe. All Rights Reserved