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 ActionExecutionStrategygetExecutionStrategy()voidhandleError(TaskService taskService, TaskModel task, java.lang.Throwable error)voidrun(TaskService taskService, TaskModel task)voidsetExecutionStrategy(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:
handleErrorin interfaceTaskRunner<TaskModel>
-
run
public void run(TaskService taskService, TaskModel task) throws RetryLaterException
- Specified by:
runin interfaceTaskRunner<TaskModel>- Throws:
RetryLaterException
-
setExecutionStrategy
public void setExecutionStrategy(ActionExecutionStrategy executionStrategy)
-
getExecutionStrategy
protected ActionExecutionStrategy getExecutionStrategy()
-
-