info.magnolia.module.samples.setup
Class SamplesVersionHandler
java.lang.Object
info.magnolia.module.AbstractModuleVersionHandler
info.magnolia.module.DefaultModuleVersionHandler
info.magnolia.module.samples.setup.SamplesVersionHandler
- All Implemented Interfaces:
- ModuleVersionHandler
public class SamplesVersionHandler
- extends DefaultModuleVersionHandler
Used to update previous version of samples module to the new one, as the module has major changes
there are some tasks to perform.
- Version:
- $Id$
Constructor Summary |
SamplesVersionHandler()
First thing is to back up the old module, configuration and templates. |
Method Summary |
protected List<Task> |
getCommonTasks()
There are some tasks common to the update process and the new installation process that are not automatically
bootstrapped. |
protected List<Task> |
getExtraInstallTasks(InstallContext installContext)
Installation process will bootstrap everything in the bootstrap folder, then we have to add some extra tasks. |
Methods inherited from class info.magnolia.module.AbstractModuleVersionHandler |
getCurrentlyInstalled, getDefaultUpdate, getDefaultUpdateConditions, getDefaultUpdateTasks, getDeltas, getInstall, getInstallConditions, getStartupDelta, getStartupTasks, getUpdate, getUpdateDeltas, register |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SamplesVersionHandler
public SamplesVersionHandler()
- First thing is to back up the old module, configuration and templates. Then the new content is bootstrapped.
getCommonTasks
protected List<Task> getCommonTasks()
- There are some tasks common to the update process and the new installation process that are not automatically
bootstrapped. Add new menu item, and three sub menu items and then set the new menu item in the proper place And
then sets the default virtual URI on public instances
- Returns:
getExtraInstallTasks
protected List<Task> getExtraInstallTasks(InstallContext installContext)
- Installation process will bootstrap everything in the bootstrap folder, then we have to add some extra tasks.
- Overrides:
getExtraInstallTasks
in class AbstractModuleVersionHandler
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.