com.atlassian.bamboo.upgrade
Interface UpgradeTask

All Known Subinterfaces:
HibernateUpgradeTask, PriorityUpgradeTask, RequiresReindexUpgradeTask, StartupUpgradeTask
All Known Implementing Classes:
AbstractBootstrapUpgradeTask, AbstractElasticCapabilityUpgradeTask, AbstractInHibernateTransactionUpgradeTask, AbstractPreparedStatementUpgradeTask, AbstractStatementUpgradeTask, AbstractUpgradeTask, AddFailoverParamsClientBrokerUrlUpgradeTask, BoostrapUpgradeTask2213SetArtifactsDirectory, BootstrapUpgradeTask2403UpdateMailConfiguration, BootstrapUpgradeTask2510MoveAtlassianUserXML, BootstrapUpgradeTask3303UsePositiveFlagInGlobalBuildExpiryConfig, BuildNumberApplicableForUpgrade, PlanKeysCorrectlyFormatted, ResetBrokerUrlUpgradeTask, UpgradeTask2201PresetSkippedCommits, UpgradeTask2203FillEmptyQueueTime, UpgradeTask2204MigrateArtifactDefinitions, UpgradeTask2205InitArtifactLinksChainFlag, UpgradeTask2207PrepopulateImageDisabledField, UpgradeTask2208FillJobKey, UpgradeTask2209NewArtifactDirStructure, UpgradeTask2210AddSystemLinkTypeToArtifactLinks, UpgradeTask2214RemoveLatestArtifactDirs, 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, UpgradeTask2701SetCommitId, UpgradeTask2702InitializeRepositoryInPlanVcsHistory, UpgradeTask2703MoveRepositoryConfigIntoTable, UpgradeTask2704InitializeRepositoryChangesets, UpgradeTask2706InitializeRepositoryMarkedForDeletion, UpgradeTask2707MoveJobRepositoryToPlan, UpgradeTask2708RemoveNullRepositories, UpgradeTask2709MoveRepositoryChangesetsToChainResult, UpgradeTask2710DropUnusedColumnsFromBrs, UpgradeTask2711SingleCleanCheckoutOptionPerTask, UpgradeTask2712CalculateRequirementsOfCheckoutTasks, UpgradeTask2713InitializeWorkingDirectoryOfJobs, UpgradeTask2714CreateRelevantChangesetsInfo, UpgradeTask2715MoveSvnExternalsToRevision, UpgradeTask2801InitializeBrsMarkedForDeletion, UpgradeTask2802InitialiseImageConfigurations, UpgradeTask2803InitGlobalRepositoryField, UpgradeTask2804InitializePlanRepositoryTable, UpgradeTask2805DropColumnsFromVcsLocation, UpgradeTask2806ConvertCommitRevisionOnMysql, UpgradeTask2807InitialiseImagePlatform, UpgradeTask2810RemoveJobRepositoryLinks, UpgradeTask2901SetDefaultQuarantinedValue, UpgradeTask2902SetDefaultQuarantinedTestsCount, UpgradeTask2903IntroduceVcsBranchTable, UpgradeTask2904SetFailedChainNotification, UpgradeTask2906DropMergeResultColumns, UpgradeTask3007ChangeJiraIssueLinksFromFixed2Related, UpgradeTask3008RemoveMarkedForDeletionJobRepositoryLinks, UpgradeTask3103ReindexBamboo, UpgradeTask3105FixSvnAutoUrlForBranchTagOptions, UpgradeTask3200TrimAuthorNames, UpgradeTask3201CreateShareRepositoryAcls, UpgradeTask3202PruneBranchJobBuildDefinitions, UpgradeTask3204PrepopulateJiraLinkRequiredField, UpgradeTask3205MigrateCustomBitbucketToPlainHg, UpgradeTask3206LinkExistingBranches, UpgradeTask3207SwitchBranchExpiryOff, UpgradeTask3208UpdateBrokenCapabilities, UpgradeTask3209RemoveSuperflousBranchJobData, UpgradeTask3210IncreaseVariableSizeTo4000, UpgradeTask3211AddNativeGitCapability, UpgradeTask3213RemoveMinorRevisionsFromCapabilities, UpgradeTask3302RemoveMinorRevisionsFromCapabilities, UpgradeTask3304SetDefaultOnceOffForBuildResultSummary, UpgradeTask3305ConvertBuildStrategyConfiguration, UpgradeTask3306SetDefaultRebuildForBuildResultSummary, UpgradeTask3307SetDefaultCustomBuildForBuildResultSummary, UpgradeTask3308EnableSandboxedPhpUnitInstalls, UpgradeTask3309RemoveRepositoryDefinitingWorkingDirFromJobBranches, UpgradeTask3607PopulateArtifactTable, UpgradeTask3608DropObsoleteArtifactLinkColumns, UpgradeTask3609LinkDeploymentVersionsToArtifacts, UpgradeTask3610DetachCommentsFromResultSummaries, UpgradeTask3611SeparateBuildNumberAndPlanKeyForVersions, UpgradeTask3612DropObsoleteVersionNamingColumn, UpgradeTask3613InitOrderingOfEnvironments, UpgradeTask3614SplitPlanResultKeyInArtifactDeploymentVersionItem, UpgradeTask3615SplitPlanResultKeyInArtifact, UpgradeTaskExcerciseBDEV_874

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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.