Class AbstractElasticCapabilityUpgradeTask
- java.lang.Object
-
- com.atlassian.bamboo.upgrade.AbstractUpgradeTask
-
- com.atlassian.bamboo.upgrade.tasks.AbstractInHibernateTransactionUpgradeTask
-
- com.atlassian.bamboo.upgrade.tasks.AbstractElasticCapabilityUpgradeTask
-
- All Implemented Interfaces:
UpgradeTask
public abstract class AbstractElasticCapabilityUpgradeTask extends AbstractInHibernateTransactionUpgradeTask
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
-
-
Constructor Summary
Constructors Constructor Description AbstractElasticCapabilityUpgradeTask(String taskNumber, String taskDescription)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addFixingMapping(Map<io.atlassian.fugue.Pair<String,String>,String> fixes, String fixedPath, String... possibleValues)
void
doUpgrade(@NotNull Connection connection)
protected abstract Map<io.atlassian.fugue.Pair<String,String>,String>
getPathFixes()
void
setBambooTransactionHibernateTemplate(BambooTransactionHibernateTemplate bambooTransactionHibernateTemplate)
void
setImageCapabilityDao(ImageCapabilitySetHibernateDao imageCapabilityDao)
-
Methods inherited from class com.atlassian.bamboo.upgrade.tasks.AbstractInHibernateTransactionUpgradeTask
doUpgrade, setBambooConnectionTemplate
-
Methods inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
getBuildNumber, getErrors, getShortDescription
-
-
-
-
Method Detail
-
doUpgrade
public void doUpgrade(@NotNull @NotNull Connection connection) throws SQLException
- Specified by:
doUpgrade
in classAbstractInHibernateTransactionUpgradeTask
- Throws:
SQLException
-
addFixingMapping
protected void addFixingMapping(Map<io.atlassian.fugue.Pair<String,String>,String> fixes, String fixedPath, String... possibleValues)
-
setImageCapabilityDao
public void setImageCapabilityDao(ImageCapabilitySetHibernateDao imageCapabilityDao)
-
setBambooTransactionHibernateTemplate
public void setBambooTransactionHibernateTemplate(BambooTransactionHibernateTemplate bambooTransactionHibernateTemplate)
-
-