public interface ActiveObjectsUpgradeTask
| Modifier and Type | Method and Description |
|---|---|
ModelVersion |
getModelVersion()
This gives the version the upgrade task will upgrade the model to.
|
void |
upgrade(ModelVersion currentVersion,
ActiveObjects ao)
Upgrades the database model of this Active Objects plugin to the
given version. |
ModelVersion getModelVersion()
void upgrade(ModelVersion currentVersion, ActiveObjects ao)
Upgrades the database model of this Active Objects plugin to the given version.
If any exception is thrown during the upgrade then sub-sequent upgrades won't run and this upgrade task will be re-tried next time.
currentVersion - the current version of the model currently in the database.ao - a configured instance of the Active Objects, which is not associated with any entity (yet).Copyright © 2018 Atlassian. All rights reserved.