Package com.atlassian.bamboo.upgrade
Interface UpgradeTask
-
- All Known Subinterfaces:
BootstrapUpgradeTask
,PriorityUpgradeTask
,StartupUpgradeTask
- All Known Implementing Classes:
AbstractBootstrapUpgradeTask
,AbstractConvertRepositoryTypesUpgrade
,AbstractDeploymentItemConversionTask
,AbstractElasticCapabilityUpgradeTask
,AbstractFormerCloudUpgrade
,AbstractInHibernateTransactionUpgradeTask
,AbstractMSSQLConvertColumnUpgradeTask
,AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask
,AbstractPhase2MoveAdminConfigToDatabaseUpgradeTask
,AbstractPreparedStatementUpgradeTask
,AbstractPrepareForAddingDeletionCascadesUpgradeTask
,AbstractRepeatableTask
,AbstractStatementUpgradeTask
,AbstractTaskConfigurationUpgradeTask
,AbstractUpdateHibernateDialectUpgradeTask
,AbstractUpgradeTask
,AbstractVariableDataEncryptionTask
,AddFailoverParamsClientBrokerUrlUpgradeTask
,AddIndicesToForeignKeys
,AllMySqlTablesUseInnoDb
,ApplySchemaFixups
,BambooCfgExistsAndCanBeWrittenTo
,BranchKeyStartsWithMastersChainKey
,BuildNumberApplicableForUpgrade
,BuildNumberInSharedHomeMatchesDatabase
,ClearingFelixCache
,ConvertRepositoryTypes
,ConvertRestrictedAdmins
,DatabaseIsSupported
,DoNotStartWithHsqldb
,EnableServerPlugins
,FileNameEncodingIsReasonable
,JavaVersionIsSupported
,JdbcDriverAvailableInClasspath
,LockLocalHome
,MailServerJndiLocationIsValid
,MsSqlConfigurationValid
,PlanKeysCorrectlyFormatted
,RequirePersistentDatabase
,ResetServerCapabilities
,ServerKeyIsValid
,TableNamesAreCaseInsensitive
,ThereIsSingleRowInHibernateUniqueKeyTable
,UpdateSpecsRunnerDockerImage
,UpgradeTask70301GrantViewConfigurationPermission
,UpgradeTask70302ReorganiseHomeDirectory
,UpgradeTask70303FixEc2ConfigurationAfterHomeReorg
,UpgradeTask70304AddCreatePermissionsToRSSRepositories
,UpgradeTask80004ConvertOracleLongToClob
,UpgradeTask80101EncryptElasticBambooAwsSecreteKey
,UpgradeTask80103EncryptS3ArtifactHandlerAwsSecreteKey
,UpgradeTask80104GrantCreateRepositoryPermissionsToProjectAdmins
,UpgradeTask80105SetGlobalToFalseForProjectRepositories
,UpgradeTask80106AddPlanSpecsSource
,UpgradeTask80201PopulateQuickSearchTable
,UpgradeTask80202InitBranchMetadata
,UpgradeTask80203AddElasticBambooCredentialsType
,UpgradeTask80204UpdatePostgresDialectUpgradeTask
,UpgradeTask80301PrepareForAddingDeletionCascades
,UpgradeTask80302DropNotificationsUniqueIndex
,UpgradeTask90000EncryptCrowdPasswords
,UpgradeTask90004MigrateCopyPatterns
,UpgradeTask90401DeleteOrphanedTestClasses
,UpgradeTask90402GrantApproveReleasePermission
,UpgradeTask90403AddDefaultPrerequisite
,UpgradeTask90405RemoveTestClassIndices
,UpgradeTask90406DropOidFromArtifactDefinition
,UpgradeTask90408ChangeDefaultJmsKeyStorePassword
,UpgradeTask90409EncryptNewJmsKeyStorePassword
,UpgradeTask90410AddHibernateTimeoutProperties
,UpgradeTask90502FillDeploymentProjectArtifactTable
,UpgradeTask90503FillDeploymentVersionArtifactTable
,UpgradeTask90506SetTestCaseLastRecordedBuildNumber
,UpgradeTask90601DropCompositeIndexOnDeploymentResult
public interface UpgradeTask
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doUpgrade()
Perform the upgrade.@NotNull String
getBuildNumber()
@NotNull List<String>
getErrors()
@NotNull String
getShortDescription()
-
-
-
Method Detail
-
getBuildNumber
@NotNull @NotNull String getBuildNumber()
- Returns:
- The build number that this upgrade is applicable to.
-
getShortDescription
@NotNull @NotNull String getShortDescription()
- Returns:
- A short (<50 chars) description of the upgrade action
-
doUpgrade
void doUpgrade() throws Exception
Perform the upgrade.- Throws:
Exception
- to signalize error during upgrade process
-
-