public class BuildNumberDao extends Object
Constructor and Description |
---|
BuildNumberDao(DowngradeUtilsImpl downgradeUtilsInfo,
ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
void |
insertUpgradeVersionHistory(OfBizDelegator ofBizDelegator,
String currentBuildNumber,
String version) |
void |
setDatabaseBuildNumber(String buildNumber)
Set the DB build number (eg 64023) in the database.
|
void |
setJiraVersion(String version)
Sets the JIRA version (eg 6.4.7) in the database.
|
void |
setMinimumDowngradeVersion()
Store the minimum downgrade version in the database so that it will be exposed in the xml backup.
|
public BuildNumberDao(DowngradeUtilsImpl downgradeUtilsInfo, ApplicationProperties applicationProperties)
public void setJiraVersion(String version)
public void setDatabaseBuildNumber(String buildNumber)
buildNumber
- the build number to writepublic void setMinimumDowngradeVersion()
public void insertUpgradeVersionHistory(OfBizDelegator ofBizDelegator, String currentBuildNumber, String version)
Copyright © 2002-2019 Atlassian. All Rights Reserved.