Package com.atlassian.jira.upgrade
Class UpgradeVersionHistoryManagerImpl
java.lang.Object
com.atlassian.jira.upgrade.UpgradeVersionHistoryManagerImpl
- All Implemented Interfaces:
UpgradeVersionHistoryManager,UpgradeVersionHistoryReader
public class UpgradeVersionHistoryManagerImpl
extends Object
implements UpgradeVersionHistoryManager
-
Constructor Summary
ConstructorsConstructorDescriptionUpgradeVersionHistoryManagerImpl(BuildVersionRegistry buildVersionRegistry, QueryDslAccessor queryDslAccessor) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddUpgradeVersionHistory(int buildNumber, String version) Add the given build number and version into the history, storing the time completed as now.Returns the complete version upgrade history, in reverse chronological order.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.upgrade.UpgradeVersionHistoryReader
getLatestUpgrade
-
Constructor Details
-
UpgradeVersionHistoryManagerImpl
public UpgradeVersionHistoryManagerImpl(BuildVersionRegistry buildVersionRegistry, QueryDslAccessor queryDslAccessor)
-
-
Method Details
-
getAllUpgradeVersionHistory
Description copied from interface:UpgradeVersionHistoryReaderReturns the complete version upgrade history, in reverse chronological order.- Specified by:
getAllUpgradeVersionHistoryin interfaceUpgradeVersionHistoryReader- Returns:
- see above
-
addUpgradeVersionHistory
Description copied from interface:UpgradeVersionHistoryManagerAdd the given build number and version into the history, storing the time completed as now.- Specified by:
addUpgradeVersionHistoryin interfaceUpgradeVersionHistoryManager- Parameters:
buildNumber- of the databaseversion- of JIRA
-