Class SapImpexImportTaskRunner
- java.lang.Object
-
- com.sap.hybris.sapimpeximportadapter.tasks.SapImpexImportTaskRunner
-
- All Implemented Interfaces:
TaskRunner<TaskModel>
@Deprecated public class SapImpexImportTaskRunner extends java.lang.Object implements TaskRunner<TaskModel>
Deprecated.since 1811, please useIntegrationObjectModelSAP Impex import task running class.
-
-
Constructor Summary
Constructors Constructor Description SapImpexImportTaskRunner()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ImpexImportServicegetImpexImportService()Deprecated.SessionServicegetSessionService()Deprecated.voidhandleError(TaskService taskService, TaskModel task, java.lang.Throwable error)Deprecated.Method that handles the errors while running the task.voidrun(TaskService taskService, TaskModel task)Deprecated.Implementation for running the impex import taskvoidsetImpexImportService(ImpexImportService impexImportService)Deprecated.voidsetSessionService(SessionService service)Deprecated.-
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
-
run
public void run(TaskService taskService, TaskModel task)
Deprecated.Implementation for running the impex import task- Specified by:
runin interfaceTaskRunner<TaskModel>- Parameters:
taskService- - task service class injectedtask- - task model- Throws:
RetryLaterException
-
handleError
public void handleError(TaskService taskService, TaskModel task, java.lang.Throwable error)
Deprecated.Method that handles the errors while running the task. Just logs the error messages- Specified by:
handleErrorin interfaceTaskRunner<TaskModel>- Parameters:
taskService- - task service classtask- - the task model object- Throws:
java.lang.Throwable
-
setSessionService
public void setSessionService(SessionService service)
Deprecated.
-
getImpexImportService
public ImpexImportService getImpexImportService()
Deprecated.- Returns:
- the impexImportService
-
setImpexImportService
public void setImpexImportService(ImpexImportService impexImportService)
Deprecated.- Parameters:
impexImportService- the impexImportService to set
-
getSessionService
public SessionService getSessionService()
Deprecated.- Returns:
- the sessionService
-
-