|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ddlutils.task.Command
org.apache.ddlutils.task.DatabaseCommand
org.apache.ddlutils.task.DropDatabaseCommand
public class DropDatabaseCommand
Sub task for dropping the target database. Note that this is only supported on some database
platforms. See the database support documentation for details on which platforms support this.
This sub task does not require schema files. Therefore the fileset subelement and
the schemaFile attribute of the enclosing task can be omitted.
| Field Summary |
|---|
| Fields inherited from class org.apache.ddlutils.task.Command |
|---|
_log |
| Constructor Summary | |
|---|---|
DropDatabaseCommand()
|
|
| Method Summary | |
|---|---|
void |
execute(DatabaseTaskBase task,
Database model)
Executes this command. |
boolean |
isRequiringModel()
Specifies whether this command requires a model, i.e. |
| Methods inherited from class org.apache.ddlutils.task.DatabaseCommand |
|---|
getCatalogPattern, getDatabaseType, getDataSource, getPlatform, getSchemaPattern, setPlatformConfiguration |
| Methods inherited from class org.apache.ddlutils.task.Command |
|---|
handleException, isFailOnError, setFailOnError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DropDatabaseCommand()
| Method Detail |
|---|
public boolean isRequiringModel()
Command.execute(DatabaseTaskBase, Database) cannot be null.
isRequiringModel in class DatabaseCommandtrue if this command requires a model
public void execute(DatabaseTaskBase task,
Database model)
throws org.apache.tools.ant.BuildException
execute in class Commandtask - The executing taskmodel - The database model
org.apache.tools.ant.BuildException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||