Class UpgradeTask2401DisableDefaultScheduledBackups
java.lang.Object
com.atlassian.crowd.upgrade.tasks.UpgradeTask2401DisableDefaultScheduledBackups
- All Implemented Interfaces:
UpgradeTask
Upgrade task to keep default scheduled backups enabled when upgrading from Crowd versions before 7.0
- Since:
- 7.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionUpgradeTask2401DisableDefaultScheduledBackups
(InternalPropertyManager internalPropertyManager, com.atlassian.config.internal.ApplicationConfig applicationConfig) protected
UpgradeTask2401DisableDefaultScheduledBackups
(InternalPropertyManager internalPropertyManager, com.atlassian.config.internal.ApplicationConfig applicationConfig, Supplier<Boolean> isSetupCompleteSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Perform the upgrade.int
A short (less than 50 chars) description of the upgrade actionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.crowd.upgrade.tasks.UpgradeTask
getErrors
-
Constructor Details
-
UpgradeTask2401DisableDefaultScheduledBackups
public UpgradeTask2401DisableDefaultScheduledBackups(InternalPropertyManager internalPropertyManager, com.atlassian.config.internal.ApplicationConfig applicationConfig) -
UpgradeTask2401DisableDefaultScheduledBackups
protected UpgradeTask2401DisableDefaultScheduledBackups(InternalPropertyManager internalPropertyManager, com.atlassian.config.internal.ApplicationConfig applicationConfig, Supplier<Boolean> isSetupCompleteSupplier)
-
-
Method Details
-
getBuildNumber
public int getBuildNumber()- Specified by:
getBuildNumber
in interfaceUpgradeTask
- Returns:
- The build number that this upgrade is applicable to.
-
getShortDescription
Description copied from interface:UpgradeTask
A short (less than 50 chars) description of the upgrade action- Specified by:
getShortDescription
in interfaceUpgradeTask
- Returns:
- description of upgrade task.
-
doUpgrade
Description copied from interface:UpgradeTask
Perform the upgrade.- Specified by:
doUpgrade
in interfaceUpgradeTask
- Throws:
Exception
- is thrown if any errors occur during the upgrade process.
-