Class AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask
java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
com.atlassian.bamboo.upgrade.tasks.AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask
- All Implemented Interfaces:
BootstrapUpgradeTask
,UpgradeTask
public abstract class AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask
extends AbstractBootstrapUpgradeTask
An abstract task that should be used whenever an upgrade task for AdminConfig->DB migration is done.
Helps with moving the admin config data into a file.
-
Field Summary
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
bootstrapManager, hibernateConfig
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask
(@NotNull String shortDescription) -
Method Summary
Methods inherited from class com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
getDatabaseConnection, getDialect, setBootstrapManager, setHibernateConfig, withDatabaseConnection
Methods inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
getBuildNumber, getErrors, getShortDescription
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, getBuildNumber, getErrors, getShortDescription
-
Field Details
-
adminConfigUpgrader
-
-
Constructor Details
-
AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask
protected AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask(@NotNull @NotNull String shortDescription)
-
-
Method Details
-
postContruct
@PostConstruct public void postContruct() -
getTemporaryConfigFile
-