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, hibernateConfig
errors
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, withDatabaseConnection
getBuildNumber, getErrors, getShortDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBuildNumber, getErrors, getShortDescription
public UpgradeTask5903MoveArtifactHandlerConfigToBandanaPhase1()
public void doUpgrade() throws Exception
UpgradeTask
Exception
- 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.