1 package org.apache.torque.mojo; 2 3 /** 4 * Authenticates to a database server using credentials with DBA authority and creates an empty database along with a 5 * default user for accessing the newly created database. See also <code>impex:drop</code> 6 * 7 * @goal create 8 */ 9 public class CreateMojo extends SingleDBACommandMojo { 10 11 /** 12 * The database command to execute 13 * 14 * @parameter expression="${command}" default-value="CREATE" 15 * @required 16 */ 17 String command; 18 19 public String getCommand() { 20 return command; 21 } 22 23 public void setCommand(String command) { 24 this.command = command; 25 } 26 27 }