Class DropTableIfExistsCommand
- java.lang.Object
 - 
- com.atlassian.confluence.upgrade.ddl.DropTableIfExistsCommand
 
 
- 
- All Implemented Interfaces:
 DdlCommand
public class DropTableIfExistsCommand extends Object implements DdlCommand
- Since:
 - 7.0.0
 
 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetStatement()static DropTableIfExistsCommandwithEscapingTableName(com.atlassian.config.db.HibernateConfig config, String tableName)Create the command which will take care of escaping table name itselfstatic DropTableIfExistsCommandwithoutEscapingTableName(com.atlassian.config.db.HibernateConfig config, String tableName)Create the command which will use passed tableName as is, without trying to escape it 
 - 
 
- 
- 
Method Detail
- 
withEscapingTableName
public static DropTableIfExistsCommand withEscapingTableName(com.atlassian.config.db.HibernateConfig config, String tableName)
Create the command which will take care of escaping table name itself 
- 
withoutEscapingTableName
public static DropTableIfExistsCommand withoutEscapingTableName(com.atlassian.config.db.HibernateConfig config, String tableName)
Create the command which will use passed tableName as is, without trying to escape it 
- 
getStatement
public String getStatement()
- Specified by:
 getStatementin interfaceDdlCommand
 
 - 
 
 -