public class AbortTaskAction extends ResolveTaskAction
ResolveTaskAction
to check whether the task has been scheduled
and if so, it will use the TaskSchedulerService
to un-schedule it.ACTOR_ID, DECISION, log
Constructor and Description |
---|
AbortTaskAction(ResolveTaskActionDefinition definition,
info.magnolia.task.Task task,
info.magnolia.task.TasksManager taskManager,
DefaultTaskDetailPresenter taskPresenter,
Shell shell,
info.magnolia.task.schedule.TaskSchedulerService schedulerService) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeTask(info.magnolia.task.TasksManager taskManager,
info.magnolia.task.Task task)
Subclasses need to implement this method to actually execute the task.
|
canExecuteTask, execute, getShell, getTaskPresenter
getDefinition
@Inject public AbortTaskAction(ResolveTaskActionDefinition definition, info.magnolia.task.Task task, info.magnolia.task.TasksManager taskManager, DefaultTaskDetailPresenter taskPresenter, Shell shell, info.magnolia.task.schedule.TaskSchedulerService schedulerService)
protected void executeTask(info.magnolia.task.TasksManager taskManager, info.magnolia.task.Task task)
AbstractTaskAction
executeTask
in class ResolveTaskAction
Copyright © 2015 Magnolia International Ltd.. All rights reserved.