public interface TaskActionExecutor
|Modifier and Type||Method and Description|
Run post-task execution actions.
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 actions
taskContext- 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 actions
taskResult- a result returned by the task; may be
nullin case the task terminated abnormally
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.