public interface TaskActionExecutor
Modifier and Type | Method and Description |
---|---|
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.
|
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 contextTaskResult 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 abnormallyCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.