com.atlassian.bamboo.upgrade
Interface UpgradeTask

All Known Subinterfaces:
HibernateUpgradeTask, PriorityUpgradeTask, StartupUpgradeTask
All Known Implementing Classes:
AbstractBootstrapUpgradeTask, AbstractInHibernateTransactionUpgradeTask, AbstractPreparedStatementUpgradeTask, AbstractStatementUpgradeTask, AbstractUpgradeTask, AddFailoverParamsClientBrokerUrlUpgradeTask, BootstrapUpgradeTask2001UniqueColumnAuthorName, BootstrapUpgradeTask2009DropChainResultTable, BootstrapUpgradeTask2012BindBrokerToAllInterfaces, BootstrapUpgradeTask2016AlterChainStageResultTable, BootstrapUpgradeTask2017DropStageBuildAssociationTable, BootstrapUpgradeTask2019RenameJobDiscriminatorValue, BootstrapUpgradeTask2022CleanupLoginInformationTable, PreBootstrapUpgradeTask706OracleMSSQLFix, ResetBrokerUrlUpgradeTask, 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, UpgradeTask1840IncreaseDbPoolSize, UpgradeTask1904FixTestCaseCount, UpgradeTask2001UniqueColumnAuthorName, UpgradeTask2003LifeCycleState, UpgradeTask2005XmlBuildResultBuildStateTranslation, UpgradeTask2006BuildResultType, UpgradeTask2010UpdateFirstLastNextJobBuildNumbers, UpgradeTask2011JobAcls, UpgradeTask2013ResultSummaryMarkedForDeletion, UpgradeTask2014ProjectAndStageMarkedForDeletion, UpgradeTask2015SetFirstBuildNumbers, UpgradeTask2018DropMarkedFromDeletionOnResultsSummary, UpgradeTask2021RemoveDataForChainStageTriggerReason, UpgradeTask2022SetChainResultRelationshipOnJobResult, UpgradeTask2023CleanupDuplicateUserCommits, UpgradeTask2025BuildChainConversion, UpgradeTask2026DeleteOrphanedResultSummaries, UpgradeTask2027AfterXFailedNotificationConversion, UpgradeTask2030RemoveJobDependencies, UpgradeTask2031AlterJobDependencyType, UpgradeTask2032ChangeDepProviderIdToKey, UpgradeTask2033MigrateMaven2DependencyConfiguration, UpgradeTask2034RemoveOrphanedBandanaData, 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.List<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.List<java.lang.String> getErrors()
Returns:
Return any errors that occur.


Copyright © 2010 Atlassian. All Rights Reserved.