|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskActionExecutor
Executor of task-related actions.
Method Summary | |
---|---|
TaskResult |
executePostTaskActions(InternalTaskType task,
TaskResult taskResult,
Collection<PrePostTaskActions> taskActions)
Run post-task execution actions. |
Collection<PrePostTaskActions> |
executePreTaskActions(InternalTaskType task,
CommonTaskContext taskContext)
Run pre-task execution actions. |
Method Detail |
---|
Collection<PrePostTaskActions> executePreTaskActions(@NotNull InternalTaskType task, @NotNull CommonTaskContext taskContext)
task
- a current task which will be executed after these pre-task actionstaskContext
- a current task context
TaskResult executePostTaskActions(@NotNull InternalTaskType task, @Nullable TaskResult taskResult, @NotNull Collection<PrePostTaskActions> taskActions)
task
- a current task which was be executed before these post-task actionstaskResult
- a result returned by the task; may be null
in case the task terminated abnormally
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |