public interface DowngradeTask
UpgradeTask.isDowngradeTaskRequired()
Modifier and Type | Method and Description |
---|---|
void |
downgrade()
Perform the downgrade.
|
int |
getBuildNumber() |
DbConnectionManager |
getDbConnectionManager()
Provides access to the DB for this Downgrade Task.
|
OfBizDelegator |
getOfBizDelegator()
Provides access to the DB for this Downgrade Task.
|
String |
getShortDescription()
A short (<50 chars) description of the downgrade task
|
ReindexRequirement |
reindexRequired()
Use this to declare if the downgrade task will require reindexing JIRA.
|
void |
setDbConnectionManager(DbConnectionManager dbConnectionManager)
This is how the Downgrade task framework injects the DbConnectionManager.
|
void |
setOfBizDelegator(OfBizDelegator ofBizDelegator)
This is how the Downgrade task framework injects the OfBizDelegator.
|
int getBuildNumber()
@Nonnull String getShortDescription()
void downgrade() throws DowngradeException
DowngradeException
@Nonnull ReindexRequirement reindexRequired()
@Nonnull DbConnectionManager getDbConnectionManager()
@Nonnull OfBizDelegator getOfBizDelegator()
void setDbConnectionManager(@Nonnull DbConnectionManager dbConnectionManager)
This method is implemented by AbstractDowngradeTask.
void setOfBizDelegator(@Nonnull OfBizDelegator ofBizDelegator)
This method is implemented by AbstractDowngradeTask.
Copyright © 2002-2024 Atlassian. All Rights Reserved.