public class UpgradeTask5903MoveArtifactHandlerConfigToBandanaPhase1 extends AbstractBootstrapUpgradeTask
Two-step upgrade is necessary in this case since modifying Bandana has to occur in a post-bootstrap upgrade task, while modifying administration configuration has to happen in a pre-bootstrap upgrade task.
applicationConfig, bootstrapManager, hibernateConfigerrors| Constructor and Description |
|---|
UpgradeTask5903MoveArtifactHandlerConfigToBandanaPhase1() |
| Modifier and Type | Method and Description |
|---|---|
void |
doUpgrade()
Perform the upgrade.
|
protected static File |
getTemporaryConfigFile(BootstrapManager bootstrapManager)
Returns a file to be used for temporary storing the Artifact Handler configuration when moving it to Bandana.
|
getApplicationBuildNumber, getDatabaseConnection, getDialect, setApplicationConfig, setBootstrapManager, setHibernateConfig, withDatabaseConnectiongetBuildNumber, getErrors, getShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBuildNumber, getErrors, getShortDescriptionpublic UpgradeTask5903MoveArtifactHandlerConfigToBandanaPhase1()
public void doUpgrade()
throws Exception
UpgradeTaskException - to signalize error during upgrade process@NotNull protected static File getTemporaryConfigFile(@NotNull BootstrapManager bootstrapManager)
bootstrapManager - bootstrap managerBootstrapManager.getConfigDirectory()Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.