|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.upgrade.AbstractUpgradeTask com.atlassian.bamboo.upgrade.tasks.AbstractInHibernateTransactionUpgradeTask
public abstract class AbstractInHibernateTransactionUpgradeTask
Abstract class for upgrade tasks that need to be wrapped in the Hibernate transaction
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask |
---|
errors |
Constructor Summary | |
---|---|
protected |
AbstractInHibernateTransactionUpgradeTask(java.lang.String buildNumber,
java.lang.String shortDescription)
|
Method Summary | |
---|---|
void |
doUpgrade()
Perform the upgrade. |
abstract void |
doUpgrade(java.sql.Connection connection)
|
void |
setBambooConnectionTemplate(BambooConnectionTemplate bambooConnectionTemplate)
|
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 |
Constructor Detail |
---|
protected AbstractInHibernateTransactionUpgradeTask(@NotNull java.lang.String buildNumber, @NotNull java.lang.String shortDescription)
Method Detail |
---|
public void doUpgrade() throws java.lang.Exception
UpgradeTask
java.lang.Exception
- to signalize error during upgrade processpublic abstract void doUpgrade(@NotNull java.sql.Connection connection) throws java.sql.SQLException
java.sql.SQLException
public void setBambooConnectionTemplate(BambooConnectionTemplate bambooConnectionTemplate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |