public interface ModuleVersionHandler
for a convenient super class.
Modifier and Type | Method and Description |
---|---|
Version |
getCurrentlyInstalled(InstallContext ctx)
Gets the currently installed version number of this module.
|
List<Delta> |
getDeltas(InstallContext installContext,
Version from)
Returns the deltas to be applied to update from the given Version from
to the current one.
|
Delta |
getStartupDelta(InstallContext installContext)
Deprecated.
It seems irrelevant to have startup tasks in a VersionHandler. These should probably be moved to ModuleLifecycle.
|
Version getCurrentlyInstalled(InstallContext ctx)
List<Delta> getDeltas(InstallContext installContext, Version from)
@Deprecated Delta getStartupDelta(InstallContext installContext)
Delta
that needs to be executed always before this module is started. These tasks will
be silently applied at startup.installContext
- InstallContextCopyright © 2003–2020 Magnolia International Ltd.. All rights reserved.