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: SamplesVersionHandler.java 41137 2011-01-06 18:19:25Z gjoseph $
- Author:
- philipp
Constructor Summary |
SamplesVersionHandler()
First thing is to back up the old module, configuration and templates. |
Method Summary |
protected List |
getCommonTasks()
There are some tasks common to the update process and the new installation process
that are not automatically bootstraped. |
protected List |
getExtraInstallTasks(InstallContext installContext)
Installation process will boostrap 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 bootstraped.
getCommonTasks
protected List getCommonTasks()
- There are some tasks common to the update process and the new installation process
that are not automatically bootstraped.
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 getExtraInstallTasks(InstallContext installContext)
- Installation process will boostrap everything in the bootstrap folder, then
we have to add some extra tasks.
- Overrides:
getExtraInstallTasks
in class AbstractModuleVersionHandler
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.