Package | Description |
---|---|
info.magnolia.module | |
info.magnolia.module.delta | |
info.magnolia.module.model | |
info.magnolia.module.model.reader | |
info.magnolia.module.webapp |
This package contains the necessary classes to determine if the web-app needs to be bootstrapped, and to do so.
|
Modifier and Type | Method and Description |
---|---|
Version |
ModuleVersionHandler.getCurrentlyInstalled(InstallContext ctx)
Gets the currently installed version number of this module.
|
Version |
AbstractModuleVersionHandler.getCurrentlyInstalled(InstallContext ctx) |
Version |
ModuleManager.ModuleAndDeltas.getCurrentVersion() |
protected Version |
AbstractModuleVersionHandler.ModuleVersionToLatestTask.getVersion(InstallContext ctx) |
protected Version |
AbstractModuleVersionHandler.ModuleVersionUpdateTask.getVersion(InstallContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected List<Condition> |
AbstractModuleVersionHandler.getDefaultUpdateConditions(Version forVersion) |
protected List<Task> |
AbstractModuleVersionHandler.getDefaultUpdateTasks(Version forVersion) |
List<Delta> |
ModuleVersionHandler.getDeltas(InstallContext installContext,
Version from)
Returns the deltas to be applied to update from the given Version from
to the current one.
|
List<Delta> |
AbstractModuleVersionHandler.getDeltas(InstallContext installContext,
Version from) |
protected List<Delta> |
AbstractModuleVersionHandler.getUpdateDeltas(InstallContext installContext,
Version from) |
Constructor and Description |
---|
ModuleAndDeltas(ModuleDefinition module,
Version currentVersion,
List<Delta> deltas) |
ModuleVersionUpdateTask(Version toVersion) |
Modifier and Type | Method and Description |
---|---|
Version |
DeltaBuilder.getVersion() |
Version |
Delta.getVersion()
Returns the version number for which this Delta is needed.
|
Modifier and Type | Method and Description |
---|---|
static DeltaBuilder |
DeltaBuilder.install(Version version,
String description) |
static DeltaBuilder |
DeltaBuilder.startup(Version version,
String description)
TODO : it seems irrelevant to have a Version in startup tasks.
|
static DeltaBuilder |
DeltaBuilder.update(Version toVersion,
String description) |
static DeltaBuilder |
DeltaBuilder.update(Version toVersion,
String description,
Task task)
Convenience factory method for an Update Delta with a single task.
|
Modifier and Type | Field and Description |
---|---|
static Version |
Version.UNDEFINED_DEVELOPMENT_VERSION |
static Version |
Version.UNDEFINED_FROM |
static Version |
Version.UNDEFINED_TO |
Modifier and Type | Method and Description |
---|---|
Version |
VersionRange.getFrom()
Deprecated.
should not be public - since 5.0.2
|
Version |
VersionRange.getTo()
Deprecated.
should not be public - since 5.0.2
|
Version |
ModuleDefinition.getVersion() |
static Version |
Version.parseVersion(int major,
int minor,
int patch) |
static Version |
Version.parseVersion(String versionStr)
Factory method that will parse a version string and return the correct Version implementation.
|
Modifier and Type | Method and Description |
---|---|
int |
VersionComparator.compare(Version v1,
Version v2) |
boolean |
VersionRange.contains(Version other) |
boolean |
Version.isBeforeOrEquivalent(Version other) |
boolean |
Version.isEquivalent(Version other)
Compares major, minor and patch revisions of this Version against the given Version.
|
boolean |
Version.isStrictlyAfter(Version other) |
void |
ModuleDefinition.setVersion(Version version) |
Constructor and Description |
---|
ModuleDefinition(String name,
Version version,
String className,
Class<? extends ModuleVersionHandler> versionHandler) |
VersionRange(Version from,
Version to)
Deprecated.
should not be public - since 5.0.2
|
Modifier and Type | Method and Description |
---|---|
Version |
LightModuleDefinitionReader.LightModuleVersionHandler.getCurrentlyInstalled(InstallContext ctx) |
Version |
LightModuleDefinitionReader.LightModuleDefinition.getVersion() |
Modifier and Type | Method and Description |
---|---|
List<Delta> |
LightModuleDefinitionReader.LightModuleVersionHandler.getDeltas(InstallContext installContext,
Version from) |
void |
LightModuleDefinitionReader.LightModuleDefinition.setVersion(Version version) |
Modifier and Type | Method and Description |
---|---|
Version |
WebappVersionHandler.getCurrentlyInstalled(InstallContext ctx) |
Version |
WebappDelta.getVersion() |
Modifier and Type | Method and Description |
---|---|
List<Delta> |
WebappVersionHandler.getDeltas(InstallContext ctx,
Version from) |
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.