com.atlassian.bamboo.upgrade
Class AbstractBootstrapUpgradeTask
java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
- All Implemented Interfaces:
- BootstrapUpgradeTask, UpgradeTask
- Direct Known Subclasses:
- AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask, AddFailoverParamsClientBrokerUrlUpgradeTask, BootstrapUpgradeTask3303UsePositiveFlagInGlobalBuildExpiryConfig, BootstrapUpgradeTask4204DeleteIndexDirectory, BranchKeyStartsWithMastersChainKey, BuildNumberApplicableForUpgrade, PlanKeysCorrectlyFormatted, ResetBrokerUrlUpgradeTask, ThereIsSingleRowInHibernateUniqueKeyTable, UpgradeTask4101InitialiseAdminConfigForXsrf, UpgradeTask4300MakeSureThereIsSingleRowInHibernateUniqueKeyTable, UpgradeTask4403MoveSpotInstancesConfigurationToBandanaPhase1, UpgradeTask4406EnableTestQuarantineByDefault, UpgradeTask4409UpdateBuildExpirySettingsForOnDemand, UpgradeTask5706RenameElasticIpManagement, UpgradeTask5707RemoveUnconfigurableFeatureDefaults, UpgradeTask5708RemoveSpotInstancesConfigurationFromAdministrationConfiguration, UpgradeTask5713PrepareExpiryConfigurationForNewDeploymentExpiry, UpgradeTask5801ImproveDeploymentExpiryConfigSerialization, UpgradeTask5858IncreaseCrowdSessionValidationInterval, UpgradeTask5859RemoveDuplicateNotifications, UpgradeTask5860UpdateHibernateDialect, UpgradeTask5861DeleteOrphanedPlanVcsRevisionHistoryItems, UpgradeTask5901UpdateQuarantineSettingsStructureInAdminConfig, UpgradeTask5903MoveArtifactHandlerConfigToBandanaPhase1, UpgradeTask5909CreateStorageLimitsSetting, UpgradeTask5910RemoveInvalidTrustedAppData, UpgradeTask5913CleanupTemporaryArtifactStorage
public abstract class AbstractBootstrapUpgradeTask
- extends AbstractUpgradeTask
- implements BootstrapUpgradeTask
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
String shortDescription)
AbstractBootstrapUpgradeTask
protected AbstractBootstrapUpgradeTask(@NotNull
String buildNumber,
@NotNull
String shortDescription)
getDatabaseConnection
protected Connection getDatabaseConnection()
throws org.hibernate.HibernateException,
SQLException
- Throws:
org.hibernate.HibernateException
SQLException
getDialect
@Nullable
protected org.hibernate.dialect.Dialect getDialect()
withDatabaseConnection
protected void withDatabaseConnection(BambooConnectionCallback connectionCallback)
throws org.hibernate.HibernateException,
SQLException
- Throws:
org.hibernate.HibernateException
SQLException
getApplicationBuildNumber
@NotNull
protected String getApplicationBuildNumber()
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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.