View Javadoc

1   package org.apache.torque.mojo;
2   
3   /**
4    * Authenticates to a database server using credentials with DBA authority and drops a database along with the default
5    * user that was created for accessing that database. See also <code>impex:create</code>
6    * 
7    * @goal drop
8    */
9   public class DropMojo extends SingleDBACommandMojo {
10  
11  	/**
12  	 * The database command to execute
13  	 * 
14  	 * @parameter expression="${command}" default-value="DROP"
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  }