com.atlassian.bamboo.upgrade
Interface UpgradeTask

All Known Implementing Classes:
UpgradeTask101, UpgradeTask102, UpgradeTask110, UpgradeTask120, UpgradeTask130, UpgradeTask131, UpgradeTask132, UpgradeTask133, UpgradeTask201, UpgradeTask203, UpgradeTask5, UpgradeTask6

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

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

getShortDescription

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


doUpgrade

void doUpgrade()
               throws Exception
Perform the upgrade.

Throws:
Exception

getErrors

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



Copyright © 2006 Atlassian Software Systems. All Rights Reserved.