public class WriteSchemaToFileCommand extends Command
| Constructor and Description |
|---|
WriteSchemaToFileCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(DatabaseTaskBase task,
Database model)
Executes this command.
|
boolean |
isRequiringModel()
Specifies whether this command requires a model, i.e.
|
void |
setOutputFile(File outputFile)
Specifies the name of the file to write the schema XML to.
|
handleException, isFailOnError, setFailOnErrorpublic void setOutputFile(File outputFile)
outputFile - The output filepublic boolean isRequiringModel()
Command.execute(DatabaseTaskBase, Database) cannot be null.isRequiringModel in class Commandtrue if this command requires a modelpublic void execute(DatabaseTaskBase task, Database model) throws org.apache.tools.ant.BuildException
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.