Class AbstractUpgradeTask

java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
All Implemented Interfaces:
UpgradeTask
Direct Known Subclasses:
AbstractBootstrapUpgradeTask, AbstractConvertRepositoryTypesUpgrade, AbstractDeploymentItemConversionTask, AbstractInHibernateTransactionUpgradeTask, AbstractPhase2MoveAdminConfigToDatabaseUpgradeTask, AbstractRepeatableTask, AbstractTaskConfigurationUpgradeTask, AbstractVariableDataEncryptionTask, DoNotStartWithHsqldb, UpgradeTask100004AddAllowlistRecords, UpgradeTask70301GrantViewConfigurationPermission, UpgradeTask70304AddCreatePermissionsToRSSRepositories, UpgradeTask80101EncryptElasticBambooAwsSecreteKey, UpgradeTask80103EncryptS3ArtifactHandlerAwsSecreteKey, UpgradeTask80104GrantCreateRepositoryPermissionsToProjectAdmins, UpgradeTask80106AddPlanSpecsSource, UpgradeTask80201PopulateQuickSearchTable, UpgradeTask80202InitBranchMetadata, UpgradeTask80203AddElasticBambooCredentialsType, UpgradeTask90000EncryptCrowdPasswords, UpgradeTask90004MigrateCopyPatterns, UpgradeTask90402GrantApproveReleasePermission, UpgradeTask90703DisablePerforceDependentPlans

public abstract class AbstractUpgradeTask extends Object implements UpgradeTask
  • Field Details

  • Constructor Details

    • AbstractUpgradeTask

      protected AbstractUpgradeTask(@NotNull @NotNull String shortDescription)
    • AbstractUpgradeTask

      @Deprecated protected AbstractUpgradeTask(@NotNull @NotNull String buildNumber, @NotNull @NotNull String shortDescription)
      Deprecated.
      since 5.10 - use AbstractUpgradeTask(String) instead
  • Method Details

    • getErrors

      @NotNull public @NotNull List<String> getErrors()
      Specified by:
      getErrors in interface UpgradeTask
      Returns:
      Return any errors that occur.
    • getBuildNumber

      @NotNull public @NotNull String getBuildNumber()
      Specified by:
      getBuildNumber in interface UpgradeTask
      Returns:
      The build number that this upgrade is applicable to.
    • getShortDescription

      @NotNull public @NotNull String getShortDescription()
      Specified by:
      getShortDescription in interface UpgradeTask
      Returns:
      A short (<50 chars) description of the upgrade action