com.atlassian.bamboo.upgrade.tasks
Class UpgradeTask2803InitGlobalRepositoryField

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.AbstractPreparedStatementUpgradeTask
              extended by com.atlassian.bamboo.upgrade.tasks.UpgradeTask2803InitGlobalRepositoryField
All Implemented Interfaces:
PriorityUpgradeTask, UpgradeTask

public class UpgradeTask2803InitGlobalRepositoryField
extends AbstractPreparedStatementUpgradeTask
implements PriorityUpgradeTask


Field Summary
 
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
 
Constructor Summary
UpgradeTask2803InitGlobalRepositoryField()
           
 
Method Summary
protected  java.lang.String getPreparedStatementSql()
          Returns the SQL that will be used to init a PreparedStatement
protected  boolean isShouldRunUpgrade(java.sql.Statement statement)
          Whether or not the upgrade task should actually run
protected  void prepareStatement(java.sql.PreparedStatement statement)
          Sets the various values in a PreparedStatement
 
Methods inherited from class com.atlassian.bamboo.upgrade.tasks.AbstractPreparedStatementUpgradeTask
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
doUpgrade, getBuildNumber, getErrors, getShortDescription
 

Constructor Detail

UpgradeTask2803InitGlobalRepositoryField

public UpgradeTask2803InitGlobalRepositoryField()
Method Detail

getPreparedStatementSql

protected java.lang.String getPreparedStatementSql()
Description copied from class: AbstractPreparedStatementUpgradeTask
Returns the SQL that will be used to init a PreparedStatement

Specified by:
getPreparedStatementSql in class AbstractPreparedStatementUpgradeTask
Returns:

prepareStatement

protected void prepareStatement(java.sql.PreparedStatement statement)
                         throws java.sql.SQLException
Description copied from class: AbstractPreparedStatementUpgradeTask
Sets the various values in a PreparedStatement

Specified by:
prepareStatement in class AbstractPreparedStatementUpgradeTask
Throws:
java.sql.SQLException

isShouldRunUpgrade

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

Specified by:
isShouldRunUpgrade in class AbstractPreparedStatementUpgradeTask
Returns:


Copyright © 2012 Atlassian. All Rights Reserved.