com.atlassian.bamboo.upgrade.tasks
Class AbstractElasticCapabilityUpgradeTask

java.lang.Object
  extended by com.atlassian.bamboo.upgrade.AbstractUpgradeTask
      extended by com.atlassian.bamboo.upgrade.tasks.AbstractInHibernateTransactionUpgradeTask
          extended by com.atlassian.bamboo.upgrade.tasks.AbstractElasticCapabilityUpgradeTask
All Implemented Interfaces:
HibernateUpgradeTask, UpgradeTask
Direct Known Subclasses:
UpgradeTask3213RemoveMinorRevisionsFromCapabilities, UpgradeTask3308EnableSandboxedPhpUnitInstalls

public abstract class AbstractElasticCapabilityUpgradeTask
extends AbstractInHibernateTransactionUpgradeTask


Field Summary
 
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
 
Constructor Summary
AbstractElasticCapabilityUpgradeTask(java.lang.String taskNumber, java.lang.String taskDescription)
           
 
Method Summary
protected  void addFixingMapping(java.util.Map<com.atlassian.fugue.Pair<java.lang.String,java.lang.String>,java.lang.String> fixes, java.lang.String fixedPath, java.lang.String... possibleValues)
           
 void doUpgrade(java.sql.Connection connection)
           
protected abstract  java.util.Map<com.atlassian.fugue.Pair<java.lang.String,java.lang.String>,java.lang.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
 
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 Detail

AbstractElasticCapabilityUpgradeTask

public AbstractElasticCapabilityUpgradeTask(java.lang.String taskNumber,
                                            java.lang.String taskDescription)
Method Detail

doUpgrade

public void doUpgrade(@NotNull
                      java.sql.Connection connection)
               throws java.sql.SQLException
Specified by:
doUpgrade in class AbstractInHibernateTransactionUpgradeTask
Throws:
java.sql.SQLException

getPathFixes

protected abstract java.util.Map<com.atlassian.fugue.Pair<java.lang.String,java.lang.String>,java.lang.String> getPathFixes()

addFixingMapping

protected void addFixingMapping(java.util.Map<com.atlassian.fugue.Pair<java.lang.String,java.lang.String>,java.lang.String> fixes,
                                java.lang.String fixedPath,
                                java.lang.String... possibleValues)

setImageCapabilityDao

public void setImageCapabilityDao(ImageCapabilitySetHibernateDao imageCapabilityDao)

setBambooTransactionHibernateTemplate

public void setBambooTransactionHibernateTemplate(BambooTransactionHibernateTemplate bambooTransactionHibernateTemplate)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.