com.atlassian.jira.upgrade
Interface UpgradeTask

All Known Implementing Classes:
AbstractUpgradeTask

public interface UpgradeTask


Method Summary
 void doUpgrade()
          Perform the upgrade.
 java.lang.String getBuildNumber()
           
 java.util.Collection getErrors()
          Return any errors that occur.
 java.lang.String getShortDescription()
          A short (<50 chars) description of the upgrade action
 

Method Detail

getBuildNumber

public java.lang.String getBuildNumber()
Returns:
The build number that this upgrade is applicable to

getShortDescription

public java.lang.String getShortDescription()
A short (<50 chars) description of the upgrade action


doUpgrade

public void doUpgrade()
               throws java.lang.Exception
Perform the upgrade.

Throws:
java.lang.Exception

getErrors

public java.util.Collection getErrors()
Return any errors that occur. Each entry is a string.