|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.magnolia.module.AbstractModuleVersionHandler
info.magnolia.module.DefaultModuleVersionHandler
info.magnolia.module.samples.setup.SamplesVersionHandler
public class SamplesVersionHandler
Used to update previous version of samples module to the new one, as the module has major changes there are some tasks to perform.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class info.magnolia.module.AbstractModuleVersionHandler |
---|
info.magnolia.module.AbstractModuleVersionHandler.ModuleVersionToLatestTask, info.magnolia.module.AbstractModuleVersionHandler.ModuleVersionUpdateTask |
Field Summary |
---|
Fields inherited from class info.magnolia.module.AbstractModuleVersionHandler |
---|
log |
Constructor Summary | |
---|---|
SamplesVersionHandler()
First thing is to back up the old module, configuration and templates. |
Method Summary | |
---|---|
protected List<info.magnolia.module.delta.Task> |
getCommonTasks()
There are some tasks common to the update process and the new installation process that are not automatically bootstrapped. |
protected List<info.magnolia.module.delta.Task> |
getExtraInstallTasks(info.magnolia.module.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.DefaultModuleVersionHandler |
---|
getBasicInstallTasks |
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 |
Constructor Detail |
---|
public SamplesVersionHandler()
Method Detail |
---|
protected List<info.magnolia.module.delta.Task> getCommonTasks()
protected List<info.magnolia.module.delta.Task> getExtraInstallTasks(info.magnolia.module.InstallContext installContext)
getExtraInstallTasks
in class info.magnolia.module.AbstractModuleVersionHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |