com.atlassian.bamboo.upgrade.tasks.v5_6
Class UpgradeTask4403MoveSpotInstancesConfigurationToBandanaPhase1

java.lang.Object
  extended by com.atlassian.bamboo.upgrade.AbstractUpgradeTask
      extended by com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
          extended by com.atlassian.bamboo.upgrade.tasks.v5_6.UpgradeTask4403MoveSpotInstancesConfigurationToBandanaPhase1
All Implemented Interfaces:
BootstrapUpgradeTask, UpgradeTask

public class UpgradeTask4403MoveSpotInstancesConfigurationToBandanaPhase1
extends AbstractBootstrapUpgradeTask

This upgrade task will remove Spot Instances configuration from AdministrationConfiguration and stores it in temporary XML file. This file is then picked up by UpgradeTask4411MoveSpotInstancesConfigurationToBandanaPhase2 and stored in Bandana.


Field Summary
 
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
applicationConfig, bootstrapManager, hibernateConfig
 
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
 
Constructor Summary
UpgradeTask4403MoveSpotInstancesConfigurationToBandanaPhase1()
           
 
Method Summary
 void doUpgrade()
          Perform the upgrade.
 
Methods inherited from class com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
getApplicationBuildNumber, getDatabaseConnection, getDialect, setApplicationConfig, 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
getBuildNumber, getErrors, getShortDescription
 

Constructor Detail

UpgradeTask4403MoveSpotInstancesConfigurationToBandanaPhase1

public UpgradeTask4403MoveSpotInstancesConfigurationToBandanaPhase1()
Method Detail

doUpgrade

public void doUpgrade()
               throws java.lang.Exception
Description copied from interface: UpgradeTask
Perform the upgrade.

Throws:
java.lang.Exception - to signalize error during upgrade process


Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.