public class CreateDatabaseCommand extends DatabaseCommand
fileset subelement and
the schemaFile attribute of the enclosing task can be omitted.| Constructor and Description |
|---|
CreateDatabaseCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredParameter(Parameter param)
Adds a parameter which is a name-value pair.
|
void |
execute(DatabaseTaskBase task,
Database model)
Executes this command.
|
boolean |
isRequiringModel()
Specifies whether this command requires a model, i.e.
|
getCatalogPattern, getDatabaseType, getDataSource, getPlatform, getSchemaPattern, setPlatformConfigurationhandleException, isFailOnError, setFailOnErrorpublic void addConfiguredParameter(Parameter param)
param - The parameterpublic boolean isRequiringModel()
Command.execute(DatabaseTaskBase, Database) cannot be null.isRequiringModel in class DatabaseCommandtrue if this command requires a modelpublic void execute(DatabaseTaskBase task, Database model) throws org.apache.tools.ant.BuildException
Copyright © 2005-2013 Apache Software Foundation. All Rights Reserved.