Package 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:
AbstractMSSQLConvertColumnUpgradeTask
,AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask
,AbstractPrepareForAddingDeletionCascadesUpgradeTask
,AbstractUpdateHibernateDialectUpgradeTask
,AddFailoverParamsClientBrokerUrlUpgradeTask
,AllMySqlTablesUseInnoDb
,BambooCfgExistsAndCanBeWrittenTo
,BranchKeyStartsWithMastersChainKey
,BuildNumberApplicableForUpgrade
,BuildNumberInSharedHomeMatchesDatabase
,ClearingFelixCache
,DatabaseIsSupported
,FileNameEncodingIsReasonable
,JavaVersionIsSupported
,JdbcDriverAvailableInClasspath
,LockLocalHome
,MailServerJndiLocationIsValid
,MsSqlConfigurationValid
,PlanKeysCorrectlyFormatted
,RequirePersistentDatabase
,ServerKeyIsValid
,TableNamesAreCaseInsensitive
,ThereIsSingleRowInHibernateUniqueKeyTable
,UpgradeTask70302ReorganiseHomeDirectory
,UpgradeTask70303FixEc2ConfigurationAfterHomeReorg
,UpgradeTask80004ConvertOracleLongToClob
,UpgradeTask80302DropNotificationsUniqueIndex
,UpgradeTask90405RemoveTestClassIndices
,UpgradeTask90406DropOidFromArtifactDefinition
,UpgradeTask90408ChangeDefaultJmsKeyStorePassword
,UpgradeTask90409EncryptNewJmsKeyStorePassword
,UpgradeTask90410AddHibernateTimeoutProperties
,UpgradeTask90506SetTestCaseLastRecordedBuildNumber
,UpgradeTask90702DropCompositeIndexOnDeploymentResult
public abstract class AbstractBootstrapUpgradeTask
extends AbstractUpgradeTask
implements BootstrapUpgradeTask
-
Field Summary
Modifier and TypeFieldDescriptionprotected BootstrapManager
protected com.atlassian.config.db.HibernateConfig
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractBootstrapUpgradeTask
(@NotNull String shortDescription) protected
AbstractBootstrapUpgradeTask
(@NotNull String buildNumber, @NotNull String shortDescription) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected Connection
protected @Nullable org.hibernate.dialect.Dialect
void
setBootstrapManager
(BootstrapManager bootstrapManager) void
setHibernateConfig
(com.atlassian.config.db.HibernateConfig hibernateConfig) protected void
withDatabaseConnection
(BambooConnectionCallback connectionCallback) 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
doUpgrade, getBuildNumber, getErrors, getShortDescription
-
Field Details
-
bootstrapManager
-
hibernateConfig
@Inject protected com.atlassian.config.db.HibernateConfig hibernateConfig
-
-
Constructor Details
-
AbstractBootstrapUpgradeTask
-
AbstractBootstrapUpgradeTask
@Deprecated protected AbstractBootstrapUpgradeTask(@NotNull @NotNull String buildNumber, @NotNull @NotNull String shortDescription) Deprecated.since 5.13 - useAbstractBootstrapUpgradeTask(String)
instead.
-
-
Method Details
-
getDatabaseConnection
- Throws:
SQLException
-
getDialect
@Nullable protected @Nullable org.hibernate.dialect.Dialect getDialect() -
withDatabaseConnection
protected void withDatabaseConnection(BambooConnectionCallback connectionCallback) throws org.hibernate.HibernateException, SQLException - Throws:
org.hibernate.HibernateException
SQLException
-
setBootstrapManager
-
setHibernateConfig
public void setHibernateConfig(com.atlassian.config.db.HibernateConfig hibernateConfig)
-
AbstractBootstrapUpgradeTask(String)
instead.