Package de.hybris.y2ysync.task.runner
Class ImportZipCreatorTaskRunner
- java.lang.Object
-
- de.hybris.y2ysync.task.runner.AbstractMainTaskRunner
-
- de.hybris.y2ysync.task.runner.ImportZipCreatorTaskRunner
-
- All Implemented Interfaces:
TaskRunner<TaskModel>
public class ImportZipCreatorTaskRunner extends AbstractMainTaskRunner implements TaskRunner<TaskModel>
-
-
Field Summary
-
Fields inherited from class de.hybris.y2ysync.task.runner.AbstractMainTaskRunner
modelService
-
-
Constructor Summary
Constructors Constructor Description ImportZipCreatorTaskRunner()
-
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)booleanisLoggingSupported()voidrun(TaskService taskService, TaskModel task)voidsetImportZipCreator(ImportZipCreator importZipCreator)voidsetY2YSyncDAO(Y2YSyncDAO y2YSyncDAO)voidsetY2YSyncLoggingCtxFactory(Y2YSyncLoggingCtxFactory y2YSyncLoggingCtxFactory)voidstopLoggingCtx(TaskLoggingCtx taskCtx)-
Methods inherited from class de.hybris.y2ysync.task.runner.AbstractMainTaskRunner
getSyncExecutionId, setModelService
-
-
-
-
Method Detail
-
run
public void run(TaskService taskService, TaskModel task) throws RetryLaterException
- Specified by:
runin interfaceTaskRunner<TaskModel>- Throws:
RetryLaterException
-
handleError
public void handleError(TaskService taskService, TaskModel task, java.lang.Throwable error)
- Specified by:
handleErrorin interfaceTaskRunner<TaskModel>
-
isLoggingSupported
public boolean isLoggingSupported()
- Specified by:
isLoggingSupportedin interfaceTaskRunner<TaskModel>
-
initLoggingCtx
public TaskLoggingCtx initLoggingCtx(TaskModel task)
- Specified by:
initLoggingCtxin interfaceTaskRunner<TaskModel>
-
stopLoggingCtx
public void stopLoggingCtx(TaskLoggingCtx taskCtx)
- Specified by:
stopLoggingCtxin interfaceTaskRunner<TaskModel>
-
setY2YSyncDAO
public void setY2YSyncDAO(Y2YSyncDAO y2YSyncDAO)
-
setImportZipCreator
public void setImportZipCreator(ImportZipCreator importZipCreator)
-
setY2YSyncLoggingCtxFactory
public void setY2YSyncLoggingCtxFactory(Y2YSyncLoggingCtxFactory y2YSyncLoggingCtxFactory)
-
-