com.atlassian.bamboo.upgrade.tasks.v5_0
Class UpgradeTask3609LinkDeploymentVersionsToArtifacts

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.AbstractStatementUpgradeTask
              extended by com.atlassian.bamboo.upgrade.tasks.v5_0.UpgradeTask3609LinkDeploymentVersionsToArtifacts
All Implemented Interfaces:
HibernateUpgradeTask, UpgradeTask

public class UpgradeTask3609LinkDeploymentVersionsToArtifacts
extends AbstractStatementUpgradeTask


Field Summary
 
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
 
Constructor Summary
UpgradeTask3609LinkDeploymentVersionsToArtifacts()
           
 
Method Summary
protected  java.util.List<java.lang.String> getSqlStatements()
          A list of SQL statements to be run in order.
protected  boolean isShouldRunUpgrade(java.sql.Statement statement)
          Whether or not the upgrade task should actually run
 
Methods inherited from class com.atlassian.bamboo.upgrade.tasks.AbstractStatementUpgradeTask
doUpgrade
 
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

UpgradeTask3609LinkDeploymentVersionsToArtifacts

public UpgradeTask3609LinkDeploymentVersionsToArtifacts()
Method Detail

isShouldRunUpgrade

protected boolean isShouldRunUpgrade(@NotNull
                                     java.sql.Statement statement)
                              throws java.sql.SQLException
Description copied from class: AbstractStatementUpgradeTask
Whether or not the upgrade task should actually run

Specified by:
isShouldRunUpgrade in class AbstractStatementUpgradeTask
Returns:
Throws:
java.sql.SQLException

getSqlStatements

@NotNull
protected java.util.List<java.lang.String> getSqlStatements()
Description copied from class: AbstractStatementUpgradeTask
A list of SQL statements to be run in order. Execution will stop after first failed statement

Specified by:
getSqlStatements in class AbstractStatementUpgradeTask
Returns:


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