com.atlassian.bamboo.upgrade
Interface UpgradeTask

All Known Subinterfaces:
HibernateUpgradeTask, PriorityUpgradeTask, StartupUpgradeTask
All Known Implementing Classes:
AbstractBootstrapUpgradeTask, AbstractInHibernateTransactionUpgradeTask, AbstractPreparedStatementUpgradeTask, AbstractStatementUpgradeTask, AbstractUpgradeTask, AddFailoverParamsClientBrokerUrlUpgradeTask, BoostrapUpgradeTask2213SetArtifactsDirectory, BootstrapUpgradeTask2001UniqueColumnAuthorName, BootstrapUpgradeTask2009DropChainResultTable, BootstrapUpgradeTask2012BindBrokerToAllInterfaces, BootstrapUpgradeTask2016AlterChainStageResultTable, BootstrapUpgradeTask2017DropStageBuildAssociationTable, BootstrapUpgradeTask2019RenameJobDiscriminatorValue, BootstrapUpgradeTask2022CleanupLoginInformationTable, BootstrapUpgradeTask2403UpdateMailConfiguration, BootstrapUpgradeTask2510MoveAtlassianUserXML, PreBootstrapUpgradeTask706OracleMSSQLFix, ResetBrokerUrlUpgradeTask, UpgradeTask1002CleanupEmptyAuthors, UpgradeTask1101NotificationRecipients, UpgradeTask1102NotificationRecipients, UpgradeTask1300PipelineEnabledByDefault, UpgradeTask1301RemoveDuplicatedCommits, UpgradeTask1307SetDefaultElasticImageConfiguration, UpgradeTask1309DefaultEnabledForElasticSchedule, UpgradeTask1310UpdateEBSSnapshot, UpgradeTask1701BackupScheduleCronExpression, UpgradeTask1702WebRepositoryViewer, UpgradeTask1703RemoteApiEnableByDefault, UpgradeTask1704Dependencies, UpgradeTask1800BuildType, UpgradeTask1801RemovingObsoleteTable, UpgradeTask1803ProperlyDisableMaven2PlanDependencies, UpgradeTask1804ArtifactLinks, UpgradeTask1821ArtifactLinksInitArtifactSize, 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, UpgradeTask2031AlterJobDependencyType, UpgradeTask2032ChangeDepProviderIdToKey, UpgradeTask2033MigrateMaven2DependencyConfiguration, UpgradeTask2034RemoveOrphanedBandanaData, UpgradeTask2201PresetSkippedCommits, UpgradeTask2203FillEmptyQueueTime, UpgradeTask2204MigrateArtifactDefinitions, UpgradeTask2205InitArtifactLinksChainFlag, UpgradeTask2207PrepopulateImageDisabledField, UpgradeTask2208FillJobKey, UpgradeTask2209NewArtifactDirStructure, UpgradeTask2210AddSystemLinkTypeToArtifactLinks, UpgradeTask2212AddProducerJobResultsToTheArtifactLinks, UpgradeTask2214RemoveLatestArtifactDirs, UpgradeTask2301InitArtifactLinksSize, UpgradeTask2303RemoveOrphanedBuildData, UpgradeTask2402MoveGlobalVariablesToDb, UpgradeTask2404SetUniqueIdForAllRequirements, UpgradeTask2405ConvertBuildersToTasks, UpgradeTask2406GravatarSupportEnabled, UpgradeTask2408RecalculateJobRequirementsForTasksUpgrade, UpgradeTask2409ConvertMavenDependencyPluginConfiguration, UpgradeTask2410RemoveBashCapabilities, UpgradeTask2411DeleteAllScriptCapabilities, UpgradeTask2412DeleteAllNAntScriptCapabilities, UpgradeTask2413UpdateNAntCommandCapabilities, UpgradeTask2501InitPlanVcsRevisionHistory, UpgradeTask2502SetDefaultOptionalStageValue, UpgradeTask2503SetDefaultOptionalStageResultValue, UpgradeTask2504SetDefaultRestartCountValue, UpgradeTask2505InitAuditLogEntityType, UpgradeTask2506PopulateContinuableColumn, UpgradeTask2507ConvertTrustedAppsPublicKeyToClob, UpgradeTask2508DropRevisionKeyColumnInBuild, UpgradeTask2511UpgradeJiraServerConfig, UpgradeTask2512MoveAtlassianUserXML, UpgradeTask2513InitializeProcessingDuration, UpgradeTask2514UpdateProcessingDuration, UpgradeTask2515PostSetupJiraServerMigration, UpgradeTask2516SetSvnAutodetectRootUrl, 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 © 2011 Atlassian. All Rights Reserved.