com.atlassian.bamboo.upgrade.tasks
Class UpgradeTask2706InitializeRepositoryMarkedForDeletion

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.UpgradeTask2706InitializeRepositoryMarkedForDeletion
All Implemented Interfaces:
HibernateUpgradeTask, PriorityUpgradeTask, UpgradeTask

public class UpgradeTask2706InitializeRepositoryMarkedForDeletion
extends AbstractPreparedStatementUpgradeTask
implements PriorityUpgradeTask


Field Summary
 
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
 
Constructor Summary
UpgradeTask2706InitializeRepositoryMarkedForDeletion()
           
 
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

UpgradeTask2706InitializeRepositoryMarkedForDeletion

public UpgradeTask2706InitializeRepositoryMarkedForDeletion()
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 © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.