Package com.atlassian.bamboo.upgrade
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,UpgradeTask70301GrantViewConfigurationPermission,UpgradeTask70304AddCreatePermissionsToRSSRepositories,UpgradeTask80101EncryptElasticBambooAwsSecreteKey,UpgradeTask80103EncryptS3ArtifactHandlerAwsSecreteKey,UpgradeTask80104GrantCreateRepositoryPermissionsToProjectAdmins,UpgradeTask80106AddPlanSpecsSource,UpgradeTask80201PopulateQuickSearchTable,UpgradeTask80202InitBranchMetadata,UpgradeTask80203AddElasticBambooCredentialsType,UpgradeTask90000EncryptCrowdPasswords,UpgradeTask90004MigrateCopyPatterns,UpgradeTask90402GrantApproveReleasePermission
public abstract class AbstractUpgradeTask extends Object implements UpgradeTask
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractUpgradeTask(@NotNull String shortDescription)protectedAbstractUpgradeTask(@NotNull String buildNumber, @NotNull String shortDescription)Deprecated.since 5.10 - useAbstractUpgradeTask(String)instead
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull StringgetBuildNumber()@NotNull List<String>getErrors()@NotNull StringgetShortDescription()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.upgrade.UpgradeTask
doUpgrade
-
-
-
-
Constructor Detail
-
AbstractUpgradeTask
protected AbstractUpgradeTask(@NotNull @NotNull String shortDescription)
-
AbstractUpgradeTask
@Deprecated protected AbstractUpgradeTask(@NotNull @NotNull String buildNumber, @NotNull @NotNull String shortDescription)
Deprecated.since 5.10 - useAbstractUpgradeTask(String)instead
-
-
Method Detail
-
getErrors
@NotNull public @NotNull List<String> getErrors()
- Specified by:
getErrorsin interfaceUpgradeTask- Returns:
- Return any errors that occur.
-
getBuildNumber
@NotNull public @NotNull String getBuildNumber()
- Specified by:
getBuildNumberin interfaceUpgradeTask- Returns:
- The build number that this upgrade is applicable to.
-
getShortDescription
@NotNull public @NotNull String getShortDescription()
- Specified by:
getShortDescriptionin interfaceUpgradeTask- Returns:
- A short (<50 chars) description of the upgrade action
-
-