Interface ITaskQueueExecutionResult
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TaskQueueExecutionResult
public interface ITaskQueueExecutionResult extends Serializable
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 viagetIndividualResults()
. ThegetMainResult()
is the final combined result obtained from all executing all tasks in order.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description List<ITaskExecutionResult>
getIndividualResults()
ITaskExecutionResult
getMainResult()
default boolean
isSuccessful()
-
-
-
Method Detail
-
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()
- Returns:
- The combined result obtained after each task was executed. This is, for the most part, just the individual result of the task that was run most recently.
-
isSuccessful
default boolean isSuccessful()
- Returns:
true
ifgetMainResult()
is successful,false
otherwise.
-
-