com.atlassian.bamboo.upgrade
Interface UpgradeTask

All Known Subinterfaces:
HibernateUpgradeTask, PriorityUpgradeTask, RequiresReindexUpgradeTask, StartupUpgradeTask
All Known Implementing Classes:
AbstractBootstrapUpgradeTask, AbstractInHibernateTransactionUpgradeTask, AbstractPreparedStatementUpgradeTask, AbstractStatementUpgradeTask, AbstractUpgradeTask, AddFailoverParamsClientBrokerUrlUpgradeTask, BoostrapUpgradeTask2213SetArtifactsDirectory, BootstrapUpgradeTask2403UpdateMailConfiguration, BootstrapUpgradeTask2510MoveAtlassianUserXML, BuildNumberApplicableForUpgrade, PlanKeysCorrectlyFormatted, ResetBrokerUrlUpgradeTask, 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, 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

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 © 2012 Atlassian. All Rights Reserved.