com.atlassian.bamboo.upgrade
Class AbstractBootstrapUpgradeTask
java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
- All Implemented Interfaces:
- UpgradeTask
- Direct Known Subclasses:
- AddFailoverParamsClientBrokerUrlUpgradeTask, BoostrapUpgradeTask2213SetArtifactsDirectory, BootstrapUpgradeTask2001UniqueColumnAuthorName, BootstrapUpgradeTask2009DropChainResultTable, BootstrapUpgradeTask2012BindBrokerToAllInterfaces, BootstrapUpgradeTask2016AlterChainStageResultTable, BootstrapUpgradeTask2017DropStageBuildAssociationTable, BootstrapUpgradeTask2019RenameJobDiscriminatorValue, BootstrapUpgradeTask2022CleanupLoginInformationTable, BootstrapUpgradeTask2403UpdateMailConfiguration, BootstrapUpgradeTask2510MoveAtlassianUserXML, PreBootstrapUpgradeTask706OracleMSSQLFix, ResetBrokerUrlUpgradeTask, UpgradeTask1840IncreaseDbPoolSize
public abstract class AbstractBootstrapUpgradeTask
- extends AbstractUpgradeTask
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bootstrapManager
protected BootstrapManager bootstrapManager
applicationConfig
protected com.atlassian.config.ApplicationConfig applicationConfig
hibernateConfig
protected com.atlassian.config.db.HibernateConfig hibernateConfig
AbstractBootstrapUpgradeTask
protected AbstractBootstrapUpgradeTask(@NotNull
java.lang.String buildNumber,
@NotNull
java.lang.String shortDescription)
getDatabaseConnection
protected java.sql.Connection getDatabaseConnection()
throws net.sf.hibernate.HibernateException,
java.sql.SQLException
- Throws:
net.sf.hibernate.HibernateException
java.sql.SQLException
getDialect
@Nullable
protected net.sf.hibernate.dialect.Dialect getDialect()
withDatabaseConnection
protected void withDatabaseConnection(BambooConnectionCallback connectionCallback)
throws net.sf.hibernate.HibernateException,
java.sql.SQLException
- Throws:
net.sf.hibernate.HibernateException
java.sql.SQLException
setBootstrapManager
public void setBootstrapManager(BootstrapManager bootstrapManager)
setApplicationConfig
public void setApplicationConfig(com.atlassian.config.ApplicationConfig applicationConfig)
setHibernateConfig
public void setHibernateConfig(com.atlassian.config.db.HibernateConfig hibernateConfig)
Copyright © 2011 Atlassian. All Rights Reserved.