public class WebappVersionHandler extends Object implements ModuleVersionHandler
WebappBootstrap
Constructor and Description |
---|
WebappVersionHandler()
Deprecated.
since 5.3.11 - use
WebappVersionHandler(RepositoryManager) instead. |
WebappVersionHandler(RepositoryManager repositoryManager) |
Modifier and Type | Method and Description |
---|---|
Version |
getCurrentlyInstalled(InstallContext ctx)
Gets the currently installed version number of this module.
|
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. |
@Deprecated public WebappVersionHandler()
WebappVersionHandler(RepositoryManager)
instead.@Inject public WebappVersionHandler(RepositoryManager repositoryManager)
public Version getCurrentlyInstalled(InstallContext ctx)
ModuleVersionHandler
getCurrentlyInstalled
in interface ModuleVersionHandler
public 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
- InstallContextCopyright © 2003–2015 Magnolia International Ltd.. All rights reserved.