Package de.hybris.y2ysync.task.runner
Class ConsumeY2YChangesTaskRunner
- java.lang.Object
-
- de.hybris.y2ysync.task.runner.ConsumeY2YChangesTaskRunner
-
- All Implemented Interfaces:
TaskRunner<TaskModel>
public class ConsumeY2YChangesTaskRunner extends java.lang.Object implements TaskRunner<TaskModel>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEXECUTION_ID_CTX
-
Constructor Summary
Constructors Constructor Description ConsumeY2YChangesTaskRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleError(TaskService taskService, TaskModel task, java.lang.Throwable error)TaskLoggingCtxinitLoggingCtx(TaskModel task)voidrun(TaskService taskService, TaskModel task)voidsetChangeDetectionService(ChangeDetectionService changeDetectionService)voidsetMediaService(MediaService mediaService)voidsetModelService(ModelService modelService)voidsetY2ySyncDAO(Y2YSyncDAO y2ySyncDAO)voidsetY2YSyncLoggingCtxFactory(Y2YSyncLoggingCtxFactory y2YSyncLoggingCtxFactory)voidstopLoggingCtx(TaskLoggingCtx taskCtx)-
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
isLoggingSupported
-
-
-
-
Field Detail
-
EXECUTION_ID_CTX
public static final java.lang.String EXECUTION_ID_CTX
- See Also:
- Constant Field Values
-
-
Method Detail
-
run
public void run(TaskService taskService, TaskModel task) throws RetryLaterException
- Specified by:
runin interfaceTaskRunner<TaskModel>- Throws:
RetryLaterException
-
initLoggingCtx
public TaskLoggingCtx initLoggingCtx(TaskModel task)
- Specified by:
initLoggingCtxin interfaceTaskRunner<TaskModel>
-
stopLoggingCtx
public void stopLoggingCtx(TaskLoggingCtx taskCtx)
- Specified by:
stopLoggingCtxin interfaceTaskRunner<TaskModel>
-
handleError
public void handleError(TaskService taskService, TaskModel task, java.lang.Throwable error)
- Specified by:
handleErrorin interfaceTaskRunner<TaskModel>
-
setY2ySyncDAO
public void setY2ySyncDAO(Y2YSyncDAO y2ySyncDAO)
-
setMediaService
public void setMediaService(MediaService mediaService)
-
setChangeDetectionService
public void setChangeDetectionService(ChangeDetectionService changeDetectionService)
-
setModelService
public void setModelService(ModelService modelService)
-
setY2YSyncLoggingCtxFactory
public void setY2YSyncLoggingCtxFactory(Y2YSyncLoggingCtxFactory y2YSyncLoggingCtxFactory)
-
-