| EMMA Coverage Report (generated Sun Mar 22 12:58:06 CDT 2009) |
|---|
| [all classes][com.ashlux.mavenoc4jplugin] |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| ShutdownMojo.java | 100% (1/1) | 100% (2/2) | 100% (53/53) | 100% (4/4) |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| class ShutdownMojo | 100% (1/1) | 100% (2/2) | 100% (53/53) | 100% (4/4) |
| ShutdownMojo (): void | 100% (1/1) | 100% (3/3) | 100% (1/1) | |
| buildCommand (): String | 100% (1/1) | 100% (50/50) | 100% (3/3) |
| 1 | package com.ashlux.mavenoc4jplugin; |
| 2 | |
| 3 | /** |
| 4 | * Shutdown OC4J. |
| 5 | * |
| 6 | * @goal shutdown |
| 7 | */ |
| 8 | public class ShutdownMojo extends AbstractOc4jMojo { |
| 9 | protected String buildCommand() { |
| 10 | String command = getJavaHome() + "/bin/java -jar " + getJ2eeHome() + "/" + getAdminJar() + " " + |
| 11 | getConnectionUri() + " " + getUsername() + " " + getPassword() + " -shutdown"; |
| 12 | getLog().debug("Going to run command [" + command + "]."); |
| 13 | return command; |
| 14 | } |
| 15 | } |
| [all classes][com.ashlux.mavenoc4jplugin] |
| EMMA 2.0.5312 (C) Vladimir Roubtsov |