Package com.atlassian.bamboo.upgrade
Class AbstractUpgradeTask
java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
- All Implemented Interfaces:
UpgradeTask
- Direct Known Subclasses:
AbstractBootstrapUpgradeTask,AbstractDeploymentItemConversionTask,AbstractInHibernateTransactionUpgradeTask,AbstractOidAddingUpgradeTask,AbstractPhase2MoveAdminConfigToDatabaseUpgradeTask,AbstractRepeatableTask,AbstractTaskConfigurationUpgradeTask,AbstractUpgradeTaskWithConcurrentExecution,AbstractVariableDataEncryptionTask,DoNotStartWithHsqldb,UpgradeTask100004AddAllowlistRecords,UpgradeTask100303ConvertLegacyStashViewerConfiguration,UpgradeTask100305SpotInstancesConfigMigration,UpgradeTask100306ApplyPermissionRestrictionToCipherKey,UpgradeTask100308ApplyPermissionRestrictionToSslDirectory,UpgradeTask110002RenameTempDirProperty,UpgradeTask120001ReEncryptCrowdDirectories,UpgradeTask120002MigrateIdentifiersOfSecrets,UpgradeTask120102FillInArtifactStorageTags,UpgradeTask70304AddCreatePermissionsToRSSRepositories,UpgradeTask80101EncryptElasticBambooAwsSecreteKey,UpgradeTask80103EncryptS3ArtifactHandlerAwsSecreteKey,UpgradeTask80104GrantCreateRepositoryPermissionsToProjectAdmins,UpgradeTask80106AddPlanSpecsSource,UpgradeTask80201PopulateQuickSearchTable,UpgradeTask80202InitBranchMetadata,UpgradeTask80203AddElasticBambooCredentialsType,UpgradeTask90004MigrateCopyPatterns,UpgradeTask90703DisablePerforceDependentPlans
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.atlassian.config.db.HibernateConfigprotected final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractUpgradeTask(@NotNull String shortDescription) protectedAbstractUpgradeTask(@NotNull String buildNumber, @NotNull String shortDescription) Deprecated. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.upgrade.UpgradeTask
doUpgrade
-
Field Details
-
errors
-
shortDescription
-
hibernateConfig
@Inject protected com.atlassian.config.db.HibernateConfig hibernateConfig
-
-
Constructor Details
-
AbstractUpgradeTask
-
AbstractUpgradeTask
@Deprecated protected AbstractUpgradeTask(@NotNull @NotNull String buildNumber, @NotNull @NotNull String shortDescription) Deprecated.since 5.10 - useAbstractUpgradeTask(String)instead
-
-
Method Details
-
getErrors
- Specified by:
getErrorsin interfaceUpgradeTask- Returns:
- Return any errors that occur.
-
getBuildNumber
- Specified by:
getBuildNumberin interfaceUpgradeTask- Returns:
- The build number that this upgrade is applicable to.
-
getShortDescription
- Specified by:
getShortDescriptionin interfaceUpgradeTask- Returns:
- A short (invalid input: '<'50 chars) description of the upgrade action
-
AbstractUpgradeTask(String)instead