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 String
getStatement()
static DropTableIfExistsCommand
withEscapingTableName(com.atlassian.config.db.HibernateConfig config, String tableName)
Create the command which will take care of escaping table name itselfstatic 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
-
-
-
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:
getStatement
in interfaceDdlCommand
-
-