public interface TaskActionExecutor
Modifier and Type | Method and Description |
---|---|
TaskResult |
executePostTaskActions(@NotNull InternalTaskType task,
@Nullable TaskResult taskResult,
@NotNull Collection<PrePostTaskActions> taskActions)
Run post-task execution actions.
|
Collection<PrePostTaskActions> |
executePreTaskActions(@NotNull InternalTaskType task,
@NotNull CommonTaskContext taskContext)
Run pre-task execution actions.
|
Collection<PrePostTaskActions> executePreTaskActions(@NotNull @NotNull InternalTaskType task, @NotNull @NotNull CommonTaskContext taskContext)
task
- a current task which will be executed after these pre-task actionstaskContext
- a current task contextTaskResult executePostTaskActions(@NotNull @NotNull InternalTaskType task, @Nullable @Nullable TaskResult taskResult, @NotNull @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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.