public class UpgradeVersionHistoryManagerImpl extends Object implements UpgradeVersionHistoryManager
Constructor and Description |
---|
UpgradeVersionHistoryManagerImpl(BuildVersionRegistry buildVersionRegistry,
QueryDslAccessor queryDslAccessor) |
Modifier and Type | Method and Description |
---|---|
void |
addUpgradeVersionHistory(int buildNumber,
String version)
Add the given build number and version into the history, storing the time completed as now.
|
List<UpgradeVersionHistoryItem> |
getAllUpgradeVersionHistory()
Returns the complete version upgrade history, in reverse chronological order.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLatestUpgrade
public UpgradeVersionHistoryManagerImpl(BuildVersionRegistry buildVersionRegistry, QueryDslAccessor queryDslAccessor)
@Nonnull public List<UpgradeVersionHistoryItem> getAllUpgradeVersionHistory()
UpgradeVersionHistoryReader
getAllUpgradeVersionHistory
in interface UpgradeVersionHistoryReader
public void addUpgradeVersionHistory(int buildNumber, String version)
UpgradeVersionHistoryManager
addUpgradeVersionHistory
in interface UpgradeVersionHistoryManager
buildNumber
- of the databaseversion
- of JIRACopyright © 2002-2019 Atlassian. All Rights Reserved.