001 package org.apache.torque.mojo; 002 003 /** 004 * Authenticates to a database server using credentials with DBA authority and drops a database along with the default 005 * user that was created for accessing that database. See also <code>impex:create</code> 006 * 007 * @goal drop 008 */ 009 public class DropMojo extends SingleDBACommandMojo { 010 011 /** 012 * The database command to execute 013 * 014 * @parameter expression="${command}" default-value="DROP" 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 }