|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.webapp.WebappVersionHandler
public class WebappVersionHandler
ModuleVersionHandler for the webapp module; bootstraps webapp content only if all workspaces are empty.
WebappBootstrap
Constructor Summary | |
---|---|
WebappVersionHandler()
|
Method Summary | |
---|---|
Version |
getCurrentlyInstalled(InstallContext ctx)
Gets the currently installed version number of this module. |
java.util.List<Delta> |
getDeltas(InstallContext ctx,
Version from)
Returns the deltas to be applied to update from the given Version from to the current one. |
Delta |
getStartupDelta(InstallContext ctx)
Returns a Delta that needs to be executed always before this module is started. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebappVersionHandler()
Method Detail |
---|
public Version getCurrentlyInstalled(InstallContext ctx)
ModuleVersionHandler
getCurrentlyInstalled
in interface ModuleVersionHandler
public java.util.List<Delta> getDeltas(InstallContext ctx, Version from)
ModuleVersionHandler
getDeltas
in interface ModuleVersionHandler
public Delta getStartupDelta(InstallContext ctx)
ModuleVersionHandler
Delta
that needs to be executed always before this module is started. These tasks will
be silently applied at startup.
getStartupDelta
in interface ModuleVersionHandler
ctx
- InstallContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |