|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ddlutils.task.WriteSchemaToFileCommand
Command for writing the database schema to a file.
Constructor Summary | |
WriteSchemaToFileCommand()
|
Method Summary | |
void |
execute(org.apache.tools.ant.Task task,
Database model)
Executes this command. |
boolean |
isRequiringModel()
Specifies whether this command requires a model, i.e. whether the second argument in Command.execute(Task, Database) cannot be null . |
void |
setOutputFile(File outputFile)
Sets the file to output the schema to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WriteSchemaToFileCommand()
Method Detail |
public void setOutputFile(File outputFile)
outputFile
- The output filepublic boolean isRequiringModel()
Command.execute(Task, Database)
cannot be null
.
isRequiringModel
in interface Command
true
if this command requires a modelpublic void execute(org.apache.tools.ant.Task task, Database model) throws org.apache.tools.ant.BuildException
execute
in interface Command
task
- 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 |