Groovy Documentation

org.codehaus.griffon.cli.shell.command
[Java] Class ExportDatabaseCommand

java.lang.Object
  org.codehaus.griffon.cli.shell.AbstractGriffonCommand
      org.codehaus.griffon.cli.shell.command.ExportDatabaseCommand

@Command(scope = "dbunit",
    name = "export-database",
    description = "Exports a database in XML format")
public class ExportDatabaseCommand
extends AbstractGriffonCommand

Field Summary
private String datasource

private String format

 
Fields inherited from class AbstractGriffonCommand
env, nonInteractive
 
Constructor Summary
ExportDatabaseCommand()

 
Method Summary
 
Methods inherited from class AbstractGriffonCommand
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

datasource

@Option(name = "--datasource",
        description = "Name of the configured datasource found in DataSource.groovy",
        required = false)
private String datasource


format

@Option(name = "--format",
        description = "Format to use for exporting. Valid values are [flatxml, xml]",
        required = false)
private String format


 
Constructor Detail

ExportDatabaseCommand

ExportDatabaseCommand()


 

Groovy Documentation