com.atlassian.bamboo.upgrade
Interface UpgradeTask

All Known Subinterfaces:
HibernateUpgradeTask, PriorityUpgradeTask, StartupUpgradeTask
All Known Implementing Classes:
AbstractInHibernateTransactionUpgradeTask, AbstractPreparedStatementUpgradeTask, AbstractStatementUpgradeTask, AbstractUpgradeTask, UpgradeTask1002CleanupEmptyAuthors, UpgradeTask1101NotificationRecipients, UpgradeTask1102NotificationRecipients, UpgradeTask1300PipelineEnabledByDefault, UpgradeTask1301RemoveDuplicatedCommits, UpgradeTask1307SetDefaultElasticImageConfiguration, UpgradeTask1309DefaultEnabledForElasticSchedule, UpgradeTask1310UpdateEBSSnapshot, UpgradeTask1701BackupScheduleCronExpression, UpgradeTask1702WebRepositoryViewer, UpgradeTask1703RemoteApiEnableByDefault, UpgradeTask1704Dependencies, UpgradeTask1800BuildType, UpgradeTask1801RemovingObsoleteTable, UpgradeTask1803ProperlyDisableMaven2PlanDependencies, UpgradeTask1804ArtifactLinks, UpgradeTask1821ArtifactLinksInitArtifactSize, UpgradeTask1822ArtifactLinksAdditionalProperties, UpgradeTask1823ExpiryTypeMigration, UpgradeTask1824PrepopulateTestCountFields, UpgradeTask1825MovingTestsAndArtifactLinksToDB, UpgradeTask1831FixNullBuildCompleted, UpgradeTask1832NotificationSetTypes, UpgradeTask1833PrepopulateTestCaseFields, UpgradeTask1834PrepopulationTestAggregate, UpgradeTask1838UpdateJabberServerTlsFlag, UpgradeTask501, UpgradeTask601, UpgradeTask602, UpgradeTask603VcsKeyForBuild, UpgradeTask604LatestVcsKeyForBuild, UpgradeTask605TriggerReasons, UpgradeTask607PipelineTableUpdate, UpgradeTask608BuildLogStorageUpdate, UpgradeTask609BuilderAndJdkToCapabilities, UpgradeTask610BuilderPlanRequirements, UpgradeTask611DefaultCapabilitySets, UpgradeTask612AllowedBuilds, UpgradeTask705PerforceCapability, UpgradeTask707PerforceRequirement, UpgradeTask710RenameQueues, UpgradeTask713CleanCapabilitiesRequirements, UpgradeTask802CommitMsgFieldToClob, UpgradeTask901JiraIssueTypes, UpgradeTask902Reindex

public interface UpgradeTask


Method Summary
 void doUpgrade()
          Perform the upgrade.
 java.lang.String getBuildNumber()
           
 java.util.Collection<java.lang.String> getErrors()
           
 java.lang.String getShortDescription()
           
 

Method Detail

getBuildNumber

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

getShortDescription

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

doUpgrade

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

Throws:
java.lang.Exception - to signalize error during upgrade process

getErrors

@NotNull
java.util.Collection<java.lang.String> getErrors()
Returns:
Return any errors that occur.


Copyright © 2010 Atlassian. All Rights Reserved.