Package de.hybris.platform.task.action
Class ActionPerformableTaskRunner
- java.lang.Object
-
- de.hybris.platform.task.action.ActionPerformableTaskRunner
-
- All Implemented Interfaces:
TaskRunner<TaskModel>
public class ActionPerformableTaskRunner extends java.lang.Object implements TaskRunner<TaskModel>
-
-
Constructor Summary
Constructors Constructor Description ActionPerformableTaskRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ActionExecutionStrategy
getExecutionStrategy()
void
handleError(TaskService taskService, TaskModel task, java.lang.Throwable error)
void
run(TaskService taskService, TaskModel task)
void
setExecutionStrategy(ActionExecutionStrategy executionStrategy)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.task.TaskRunner
initLoggingCtx, isLoggingSupported, stopLoggingCtx
-
-
-
-
Method Detail
-
handleError
public void handleError(TaskService taskService, TaskModel task, java.lang.Throwable error)
- Specified by:
handleError
in interfaceTaskRunner<TaskModel>
-
run
public void run(TaskService taskService, TaskModel task) throws RetryLaterException
- Specified by:
run
in interfaceTaskRunner<TaskModel>
- Throws:
RetryLaterException
-
setExecutionStrategy
public void setExecutionStrategy(ActionExecutionStrategy executionStrategy)
-
getExecutionStrategy
protected ActionExecutionStrategy getExecutionStrategy()
-
-