com.atlassian.bamboo.upgrade.tasks
Class UpgradeTask2411DeleteAllScriptCapabilities

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

public class UpgradeTask2411DeleteAllScriptCapabilities
extends AbstractPreparedStatementUpgradeTask


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

Constructor Detail

UpgradeTask2411DeleteAllScriptCapabilities

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