Interface ITaskQueueExecutionResult
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TaskQueueExecutionResult
Represents the result of running one or multiple tasks. Each task may have invoked other tasks. You can retrieve a
list of the individual results via
getIndividualResults(). The getMainResult() is the final
combined result obtained from all executing all tasks in order.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionGets the combined result obtained after each task was executed.default boolean
-
Method Details
-
getIndividualResults
List<ITaskExecutionResult> getIndividualResults()- Returns:
- The individual results for each task that was executed. This is a list of snapshots of the result obtained after each task was run. Tasks run prior to another task may affect the individual result of that task.
-
getMainResult
ITaskExecutionResult getMainResult()Gets the combined result obtained after each task was executed. This is mostly just the individual result of the task that was run most recently. Certain details such as the HTTP servlet response may originate from a different task.- Returns:
- The combined result obtained after each task was executed.
-
isSuccessful
default boolean isSuccessful()- Returns:
trueifgetMainResult()is successful,falseotherwise.
-