| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| CreateMojo | 
  | 
  | 1.0;1 | 
| 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 | 0 |  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 | 0 |                  return command; | 
| 21 | }  | |
| 22 | ||
| 23 | public void setCommand(String command) {  | |
| 24 | 0 |                  this.command = command; | 
| 25 | 0 |          } | 
| 26 | ||
| 27 | }  |