Interface UpgradeTask

All Known Subinterfaces:
BootstrapUpgradeTask, PriorityUpgradeTask, StartupUpgradeTask
All Known Implementing Classes:
AbstractBootstrapUpgradeTask, AbstractConvertRepositoryTypesUpgrade, AbstractDeploymentItemConversionTask, AbstractElasticCapabilityUpgradeTask, AbstractFormerCloudUpgrade, AbstractGrantNewPermissionUpgradeTask, AbstractInHibernateTransactionUpgradeTask, AbstractMSSQLConvertColumnUpgradeTask, AbstractOidAddingUpgradeTask, 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, UpgradeTask100004AddAllowlistRecords, UpgradeTask100101AddAllowlistRecords, UpgradeTask100103ExtendNotificationRecipientColumnSize, UpgradeTask100104GrantCreateBranchPermission, UpgradeTask100105DropDuplicateIndicesOnAoTables, UpgradeTask100107ConvertTemplateVarcharToClob, UpgradeTask51402ReseedServerKeyAndOids, UpgradeTask51403FixDeploymentTasksOids, 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, UpgradeTask90702DropCompositeIndexOnDeploymentResult, UpgradeTask90703DisablePerforceDependentPlans

public interface UpgradeTask
  • Method Details

    • 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
    • getErrors

      @NotNull @NotNull List<String> getErrors()
      Returns:
      Return any errors that occur.