Class SapImpexImportTaskRunner
java.lang.Object
com.sap.hybris.sapimpeximportadapter.tasks.SapImpexImportTaskRunner
- All Implemented Interfaces:
de.hybris.platform.task.TaskRunner<TaskModel>
@Deprecated(since="1811",
forRemoval=true)
public class SapImpexImportTaskRunner
extends Object
implements de.hybris.platform.task.TaskRunner<TaskModel>
Deprecated, for removal: This API element is subject to removal in a future version.
SAP Impex import task running class.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.de.hybris.platform.servicelayer.session.SessionServiceDeprecated, for removal: This API element is subject to removal in a future version.voidhandleError(de.hybris.platform.task.TaskService taskService, TaskModel task, Throwable error) Deprecated, for removal: This API element is subject to removal in a future version.Method that handles the errors while running the task.voidDeprecated, for removal: This API element is subject to removal in a future version.Implementation for running the impex import taskvoidsetImpexImportService(ImpexImportService impexImportService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSessionService(de.hybris.platform.servicelayer.session.SessionService service) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.task.TaskRunner
initLoggingCtx, isLoggingSupported, stopLoggingCtx
-
Constructor Details
-
SapImpexImportTaskRunner
public SapImpexImportTaskRunner()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
run
Deprecated, for removal: This API element is subject to removal in a future version.Implementation for running the impex import task- Specified by:
runin interfacede.hybris.platform.task.TaskRunner<TaskModel>- Parameters:
taskService- - task service class injectedtask- - task model- Throws:
de.hybris.platform.task.RetryLaterException
-
handleError
public void handleError(de.hybris.platform.task.TaskService taskService, TaskModel task, Throwable error) Deprecated, for removal: This API element is subject to removal in a future version.Method that handles the errors while running the task. Just logs the error messages- Specified by:
handleErrorin interfacede.hybris.platform.task.TaskRunner<TaskModel>- Parameters:
taskService- - task service classtask- - the task model object
-
setSessionService
public void setSessionService(de.hybris.platform.servicelayer.session.SessionService service) Deprecated, for removal: This API element is subject to removal in a future version. -
getImpexImportService
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the impexImportService
-
setImpexImportService
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
impexImportService- the impexImportService to set
-
getSessionService
public de.hybris.platform.servicelayer.session.SessionService getSessionService()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the sessionService
-
IntegrationObjectModel