com.atlassian.bamboo.upgrade.tasks
Class UpgradeTask1825MovingTestsAndArtifactLinksToDB

java.lang.Object
  extended by com.atlassian.bamboo.upgrade.AbstractUpgradeTask
      extended by com.atlassian.bamboo.upgrade.tasks.UpgradeTask1825MovingTestsAndArtifactLinksToDB
All Implemented Interfaces:
UpgradeTask

public class UpgradeTask1825MovingTestsAndArtifactLinksToDB
extends AbstractUpgradeTask


Field Summary
protected static int BATCH_SIZE
           
 
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
 
Constructor Summary
UpgradeTask1825MovingTestsAndArtifactLinksToDB()
           
 
Method Summary
 void doUpgrade()
          Perform the upgrade.
 void setArtifactLinkManager(ArtifactLinkManager artifactLinkManager)
           
 void setBambooTransactionHibernateTemplate(BambooTransactionHibernateTemplate bambooTransactionHibernateTemplate)
           
 void setBuildManager(BuildManager buildManager)
           
 void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
           
 void setHibernateConfig(com.atlassian.config.db.HibernateConfig hibernateConfig)
           
 void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
           
 void setTestsManager(TestsManager testsManager)
           
 
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
 

Field Detail

BATCH_SIZE

protected static final int BATCH_SIZE
See Also:
Constant Field Values
Constructor Detail

UpgradeTask1825MovingTestsAndArtifactLinksToDB

public UpgradeTask1825MovingTestsAndArtifactLinksToDB()
Method Detail

doUpgrade

public void doUpgrade()
               throws java.lang.Exception
Perform the upgrade.

Throws:
java.lang.Exception - to signal error during upgrade process

setTestsManager

public void setTestsManager(TestsManager testsManager)

setBuildManager

public void setBuildManager(BuildManager buildManager)

setBuildResultsSummaryManager

public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)

setBambooTransactionHibernateTemplate

public void setBambooTransactionHibernateTemplate(BambooTransactionHibernateTemplate bambooTransactionHibernateTemplate)

setArtifactLinkManager

public void setArtifactLinkManager(ArtifactLinkManager artifactLinkManager)

setHibernateConfig

public void setHibernateConfig(com.atlassian.config.db.HibernateConfig hibernateConfig)

setSessionFactory

public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)


Copyright © 2010 Atlassian. All Rights Reserved.