com.atlassian.jira.upgrade
Interface UpgradeTask

All Known Implementing Classes:
AbstractFieldScreenUpgradeTask, AbstractNotificationSchemeUpgradeTask, AbstractReindexUpgradeTask, AbstractSearchRequestUpgradeTask, AbstractUpgradeTask, UpgradeTask_Build10, UpgradeTask_Build100, UpgradeTask_Build101, UpgradeTask_Build102, UpgradeTask_Build103, UpgradeTask_Build104, UpgradeTask_Build105, UpgradeTask_Build106, UpgradeTask_Build11, UpgradeTask_Build125, UpgradeTask_Build130, UpgradeTask_Build132, UpgradeTask_Build133, UpgradeTask_Build150, UpgradeTask_Build151, UpgradeTask_Build152, UpgradeTask_Build155, UpgradeTask_Build157, UpgradeTask_Build175, UpgradeTask_Build176, UpgradeTask_Build178, UpgradeTask_Build180, UpgradeTask_Build183, UpgradeTask_Build186, UpgradeTask_Build187, UpgradeTask_Build190, UpgradeTask_Build205, UpgradeTask_Build206, UpgradeTask_Build207, UpgradeTask_Build231, UpgradeTask_Build232, UpgradeTask_Build251, UpgradeTask_Build255, UpgradeTask_Build257, UpgradeTask_Build258, UpgradeTask_Build27, UpgradeTask_Build281, UpgradeTask_Build296, UpgradeTask_Build317, UpgradeTask_Build319, UpgradeTask_Build321, UpgradeTask_Build322, UpgradeTask_Build325, UpgradeTask_Build326, UpgradeTask_Build35, UpgradeTask_Build401, UpgradeTask_Build402, UpgradeTask_Build403, UpgradeTask_Build412, UpgradeTask_Build418, UpgradeTask_Build428, UpgradeTask_Build436, UpgradeTask_Build437, UpgradeTask_Build438, UpgradeTask_Build440, UpgradeTask_Build446, UpgradeTask_Build47, UpgradeTask_Build48, UpgradeTask_Build509, UpgradeTask_Build51, UpgradeTask_Build518, UpgradeTask_Build519, UpgradeTask_Build520, UpgradeTask_Build551, UpgradeTask_Build552, UpgradeTask_Build553, UpgradeTask_Build554, UpgradeTask_Build56, UpgradeTask_Build571, UpgradeTask_Build572, UpgradeTask_Build60, UpgradeTask_Build82, UpgradeTask_Build83, UpgradeTask_Build84, UpgradeTask_Build85, UpgradeTask_Build86, UpgradeTask_Build87, UpgradeTask_Build89, UpgradeTask_Build92, UpgradeTask_Build93, UpgradeTask_Build94, UpgradeTask_Build95, UpgradeTask_Build96, UpgradeTask_Build98, UpgradeTask1_2, UpgradeTask1_2_1

public interface UpgradeTask


Nested Class Summary
static class UpgradeTask.Status
          Track status of a task this session, if isTaskDone(String) returns true you don't need to do it again.
 
Method Summary
 void doUpgrade()
          Perform the upgrade.
 java.lang.String getBuildNumber()
           
 java.util.Collection<java.lang.String> getErrors()
          Return any errors that occur.
 java.lang.String getShortDescription()
          A short (<50 chars) description of the upgrade action
 

Method Detail

getBuildNumber

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

getShortDescription

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


doUpgrade

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

Throws:
java.lang.Exception

getErrors

java.util.Collection<java.lang.String> getErrors()
Return any errors that occur. Each entry is a string.



Copyright © 2002-2010 Atlassian. All Rights Reserved.