Package com.atlassian.upgrade
Interface DatabaseUpgradeTask
-
- All Superinterfaces:
UpgradeTask
public interface DatabaseUpgradeTask extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doNonDatabaseUpgrade()
Perform any non-database related parts of the upgrade task.-
Methods inherited from interface com.atlassian.upgrade.UpgradeTask
doUpgrade, getBuildNumber, getErrors, getShortDescription
-
-
-
-
Method Detail
-
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.
-
-