info.magnolia.module.templatingkit.setup
Class StkMigrationTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.migration.task.AbstractMigrationTask
          extended by info.magnolia.migration.task.AbstractSTKRelatedModuleMigrationTask
              extended by info.magnolia.module.templatingkit.setup.StkMigrationTask
All Implemented Interfaces:
info.magnolia.module.delta.Task

public class StkMigrationTask
extends info.magnolia.migration.task.AbstractSTKRelatedModuleMigrationTask

Custom STK migration task. Define a specific Extra migration task Define a specific executeRenameAndChangeId task.


Field Summary
 
Fields inherited from class info.magnolia.migration.task.AbstractMigrationTask
reportService
 
Constructor Summary
StkMigrationTask(String taskName, String taskDescription, String moduleName, boolean disposeObservation, List<String> siteDefinition)
           
 
Method Summary
protected  void executeExtraMigrationTask(info.magnolia.module.InstallContext installContext)
           
protected  void executeRenameAndChangeId(info.magnolia.module.InstallContext installContext)
           
 
Methods inherited from class info.magnolia.migration.task.AbstractSTKRelatedModuleMigrationTask
executeChangeReferenceToExtendsMigrationTask, executeHandleTemlatePrototypeRedundancyMigrationTask, executePreProcessStkTemplatesMigrationTask, executeRemoveClassFromSiteThemesMigrationTask, executeTask, executeTransformStkBasedTemplateMigrationTask, executeTransformStkExtendsMigrationTask
 
Methods inherited from class info.magnolia.migration.task.AbstractMigrationTask
disposeObservation, execute, executeIdCreationMigrationTask, executeMoveMigrationTask, executePostMigrationTaks, executeUpdateExtendsMigrationTask, getModuleName, getPersistentMapService, getRepository, getSession, isDisposeObservation, setSession
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StkMigrationTask

public StkMigrationTask(String taskName,
                        String taskDescription,
                        String moduleName,
                        boolean disposeObservation,
                        List<String> siteDefinition)
Method Detail

executeExtraMigrationTask

protected void executeExtraMigrationTask(info.magnolia.module.InstallContext installContext)
                                  throws info.magnolia.module.delta.TaskExecutionException
Specified by:
executeExtraMigrationTask in class info.magnolia.migration.task.AbstractSTKRelatedModuleMigrationTask
Throws:
info.magnolia.module.delta.TaskExecutionException

executeRenameAndChangeId

protected void executeRenameAndChangeId(info.magnolia.module.InstallContext installContext)
                                 throws info.magnolia.module.delta.TaskExecutionException
Specified by:
executeRenameAndChangeId in class info.magnolia.migration.task.AbstractSTKRelatedModuleMigrationTask
Throws:
info.magnolia.module.delta.TaskExecutionException


Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.