com.atlassian.bamboo.setup
Class PreBootstrapUpgradeTask706OracleMSSQLFix

java.lang.Object
  extended by com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix
All Implemented Interfaces:
PreBootstrapUpgradeTask

public class PreBootstrapUpgradeTask706OracleMSSQLFix
extends java.lang.Object
implements PreBootstrapUpgradeTask


Constructor Summary
PreBootstrapUpgradeTask706OracleMSSQLFix(com.atlassian.config.db.HibernateConfig hibernateConfig, int bambooBuildNumber)
           
 
Method Summary
 boolean doUpgrade()
          Main method to do all the upgrade tasks
 int getBuildNumber()
          Build number from which point the upgrade task wont need to run
protected  java.sql.Connection getDatabaseConnection()
           
 java.lang.String getDescription()
          Returns the description of the upgrade task
 boolean performHSQLUpdate()
           
 boolean performMySQLUpdate()
           
 boolean performPostgresqlUpdate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreBootstrapUpgradeTask706OracleMSSQLFix

public PreBootstrapUpgradeTask706OracleMSSQLFix(com.atlassian.config.db.HibernateConfig hibernateConfig,
                                                int bambooBuildNumber)
Method Detail

getDescription

public java.lang.String getDescription()
Description copied from interface: PreBootstrapUpgradeTask
Returns the description of the upgrade task

Specified by:
getDescription in interface PreBootstrapUpgradeTask
Returns:

getBuildNumber

public int getBuildNumber()
Description copied from interface: PreBootstrapUpgradeTask
Build number from which point the upgrade task wont need to run

Specified by:
getBuildNumber in interface PreBootstrapUpgradeTask
Returns:

doUpgrade

public boolean doUpgrade()
Description copied from interface: PreBootstrapUpgradeTask
Main method to do all the upgrade tasks

Specified by:
doUpgrade in interface PreBootstrapUpgradeTask
Returns:

performHSQLUpdate

public boolean performHSQLUpdate()

performMySQLUpdate

public boolean performMySQLUpdate()

performPostgresqlUpdate

public boolean performPostgresqlUpdate()

getDatabaseConnection

protected java.sql.Connection getDatabaseConnection()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.