Class AbstractUpdateHibernateDialectUpgradeTask
java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
com.atlassian.bamboo.upgrade.tasks.AbstractUpdateHibernateDialectUpgradeTask
- All Implemented Interfaces:
BootstrapUpgradeTask
,UpgradeTask
- Direct Known Subclasses:
UpgradeTask80204UpdatePostgresDialectUpgradeTask
public abstract class AbstractUpdateHibernateDialectUpgradeTask
extends AbstractBootstrapUpgradeTask
-
Field Summary
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
bootstrapManager, hibernateConfig
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Perform the upgrade.protected abstract @Nullable String
getNewDialect
(String currentDialect) Methods inherited from class com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
getDatabaseConnection, getDialect, 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 Details
-
AbstractUpdateHibernateDialectUpgradeTask
public AbstractUpdateHibernateDialectUpgradeTask()
-
-
Method Details
-
doUpgrade
Description copied from interface:UpgradeTask
Perform the upgrade.- Throws:
Exception
- to signalize error during upgrade process
-
getNewDialect
-