com.atlassian.jira.upgrade.tasks
Class DropIndexTask

java.lang.Object
  extended by com.atlassian.jira.upgrade.AbstractUpgradeTask
      extended by com.atlassian.jira.upgrade.tasks.DropIndexTask
All Implemented Interfaces:
UpgradeTask
Direct Known Subclasses:
UpgradeTask_Build6100, UpgradeTask_Build6256, UpgradeTask_Build6316, UpgradeTask_Build6318, UpgradeTask_Build812

public abstract class DropIndexTask
extends AbstractUpgradeTask


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask
UpgradeTask.Status
 
Constructor Summary
DropIndexTask(boolean reindexRequired)
           
 
Method Summary
protected  String buildDropIndexSql(String tableName, String index)
           
protected  void dropIndex(String tableName, String indexName)
           
 
Methods inherited from class com.atlassian.jira.upgrade.AbstractUpgradeTask
addError, addErrors, addErrors, convertToSchemaTableName, doUpgrade, getApplicationProperties, getBuildNumber, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, isReindexRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.upgrade.UpgradeTask
getShortDescription
 

Constructor Detail

DropIndexTask

public DropIndexTask(boolean reindexRequired)
Method Detail

buildDropIndexSql

protected String buildDropIndexSql(String tableName,
                                   String index)
                            throws SQLException
Throws:
SQLException

dropIndex

protected void dropIndex(String tableName,
                         String indexName)
                  throws Exception
Throws:
Exception


Copyright © 2002-2014 Atlassian. All Rights Reserved.