001 package org.apache.torque.mojo;
002
003 /**
004 * Authenticates to a database server using credentials with DBA authority and creates an empty database along with a
005 * default user for accessing the newly created database. See also <code>impex:drop</code>
006 *
007 * @goal create
008 */
009 public class CreateMojo extends SingleDBACommandMojo {
010
011 /**
012 * The database command to execute
013 *
014 * @parameter expression="${command}" default-value="CREATE"
015 * @required
016 */
017 String command;
018
019 public String getCommand() {
020 return command;
021 }
022
023 public void setCommand(String command) {
024 this.command = command;
025 }
026
027 }