Package com.atlassian.upgrade
Interface DatabaseUpgradeTask
- All Superinterfaces:
UpgradeTask
Upgrade tasks that perform operations on the database should implement this interface.
-
Field Summary
Fields inherited from interface com.atlassian.upgrade.UpgradeTask
log
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Perform any non-database related parts of the upgrade task.Methods inherited from interface com.atlassian.upgrade.UpgradeTask
doUpgrade, getBuildNumber, getErrors, getShortDescription
-
Method Details
-
doNonDatabaseUpgrade
void doNonDatabaseUpgrade()Perform any non-database related parts of the upgrade task. If the upgrade manager determines that the database has already been upgraded, it will call this method instead ofUpgradeTask.doUpgrade()
. This allows the upgrade task to perform any local non-db cleanup that might be involved in the upgrade.
-