Class AddIndicesToForeignKeys
- java.lang.Object
-
- com.atlassian.bamboo.upgrade.AbstractUpgradeTask
-
- com.atlassian.bamboo.upgrade.AbstractRepeatableTask
-
- com.atlassian.bamboo.upgrade.tasks.repeatable.AddIndicesToForeignKeys
-
- All Implemented Interfaces:
UpgradeTask
public class AddIndicesToForeignKeys extends AbstractRepeatableTask
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
-
-
Constructor Summary
Constructors Constructor Description AddIndicesToForeignKeys()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doRepeatableTask()
protected boolean
needsUpgrade()
Set<String>
performUpgrade(org.hibernate.Session session)
-
Methods inherited from class com.atlassian.bamboo.upgrade.AbstractRepeatableTask
doUpgrade, getRunOnlyOnceId, hasBeenRun
-
Methods inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
getBuildNumber, getErrors, getShortDescription
-
-
-
-
Method Detail
-
needsUpgrade
protected boolean needsUpgrade()
- Overrides:
needsUpgrade
in classAbstractRepeatableTask
-
doRepeatableTask
protected void doRepeatableTask() throws Exception
- Specified by:
doRepeatableTask
in classAbstractRepeatableTask
- Throws:
Exception
-
-