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 Modifier and Type Field Description protected AdministrationConfigurationUpgrader
adminConfigUpgrader
-
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
bootstrapManager, hibernateConfig
-
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask(@NotNull String shortDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getTemporaryConfigFile()
void
postContruct()
-
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 Detail
-
adminConfigUpgrader
protected AdministrationConfigurationUpgrader adminConfigUpgrader
-
-
Constructor Detail
-
AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask
protected AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask(@NotNull @NotNull String shortDescription)
-
-
Method Detail
-
postContruct
@PostConstruct public void postContruct()
-
getTemporaryConfigFile
public File getTemporaryConfigFile()
-
-