Class InterceptorUnawareMigrationTaskDecorator
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.setup.tasks.impl.InterceptorUnawareMigrationTaskDecorator
-
- All Implemented Interfaces:
MigrationTask
public class InterceptorUnawareMigrationTaskDecorator extends java.lang.Object implements MigrationTask
Decorator which disables prepare and validate interceptor during MigrationTask executions. Please notice that it can be applied only for such a task that are executed in the same thread.
-
-
Constructor Summary
Constructors Constructor Description InterceptorUnawareMigrationTaskDecorator(MigrationTask migrationTask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(SystemSetupContext systemSetupContext)Executes migration taskprotected MigrationTaskgetMigrationTask()protected SessionServicegetSessionService()voidsetSessionService(SessionService sessionService)
-
-
-
Constructor Detail
-
InterceptorUnawareMigrationTaskDecorator
public InterceptorUnawareMigrationTaskDecorator(MigrationTask migrationTask)
-
-
Method Detail
-
execute
public void execute(SystemSetupContext systemSetupContext)
Description copied from interface:MigrationTaskExecutes migration task- Specified by:
executein interfaceMigrationTask- Parameters:
systemSetupContext- - setup context that gives a control over task execution
-
getMigrationTask
protected MigrationTask getMigrationTask()
-
getSessionService
protected SessionService getSessionService()
-
setSessionService
public void setSessionService(SessionService sessionService)
-
-