|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.maven.ExecutedMojo
public final class ExecutedMojo
Persisted record of mojo execution.
This information is first recorded in the maven process, then sent over the remoting layer to the master, then persisted via XStream.
| Nested Class Summary | |
|---|---|
static class |
ExecutedMojo.Cache
Used during the HTML rendering to cache the index. |
| Field Summary | |
|---|---|
String |
artifactId
Plugin artifact ID. |
String |
digest
MD5 hash of the plugin jar. |
long |
duration
How long did it take to execute this goal? in milli-seconds. |
String |
executionId
Optional execution ID, when the same mojo gets executed multiple times. |
String |
goal
Mojo name. |
String |
groupId
Plugin group ID. |
String |
version
Plugin version. |
| Constructor Summary | |
|---|---|
ExecutedMojo(MojoInfo mojo,
long duration)
|
|
| Method Summary | |
|---|---|
String |
getDurationString()
Returns duration in a human readable text. |
String |
getGoalLink(ExecutedMojo.Cache c)
|
String |
getPluginLink(ExecutedMojo.Cache c)
Returns a hyperlink for the plugin name if there's one. |
String |
getReadableExecutionId()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final String groupId
public final String artifactId
public final String version
public final String goal
public final String executionId
public final long duration
public final String digest
| Constructor Detail |
|---|
public ExecutedMojo(MojoInfo mojo,
long duration)
throws IOException,
InterruptedException
IOException
InterruptedException| Method Detail |
|---|
public String getDurationString()
public String getReadableExecutionId()
public String getPluginLink(ExecutedMojo.Cache c)
public String getGoalLink(ExecutedMojo.Cache c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||