package

com.atlassian.jira.upgrade

Interfaces

BuildVersionRegistry Resolves build numbers to versions of JIRA. 
BuildVersionRegistry.BuildVersion Simple result object for representing the build number and version together. 
ConsistencyChecker  
UpgradeHistoryItem Simple representation of an upgrade performed in history. 
UpgradeManager  
UpgradeTask  

Classes

AbstractUpgradeTask  
BuildNumComparator  
BuildVersionImpl Simple implementation of BuildVersionRegistry.BuildVersion 
ConnectionKeeper This class is used to keep connections open to the database while JIRA is running. 
ConsistencyCheckImpl The consistency checker runs every time the web app is reloaded, and checks JIRA's consistency (duh ;))

At the moment it just looks to check that certain Listeners are loaded, but in the future it can check the consistency of data etc. 
ConsistencyLauncher The ConsistencyLauncher will launch a consistency check when the web application is started. 
DefaultBuildVersionRegistry Default implementation which looks up the known versions from the file build-versions.properties. 
LogEvent Event subclass that intercepts the setProgress(int) in order to provide some status to the log file (using log4j). 
PluginUpgradeLauncher Issues a JiraStartedEvent to launch the Jira Plugin upgrade task 
UpgradeHistoryItemImpl  
UpgradeLauncher Tests if an upgrade is necessary, and performs it. 
UpgradeManagerImpl  
UpgradeTask.Status Track status of a task this session, if isTaskDone(String) returns true you don't need to do it again.