com.atlassian.jira.upgrade
Interface UpgradeTask

All Known Implementing Classes:
AbstractUpgradeTask

public interface UpgradeTask


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

Method Detail

getBuildNumber

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

getShortDescription

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


doUpgrade

public void doUpgrade()
               throws Exception
Perform the upgrade.

Throws:
Exception

getErrors

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



Copyright © 2002-2007 Atlassian. All Rights Reserved.