Added UI for displaying what mojos were run. (#297)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2931 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-04-08 00:10:55 +00:00
1 parent d499c37757
commit 6cfe11e2d5
3 files changed
+61

No files matched your search

@@ -68,4 +68,16 @@ public final class ExecutedMojo implements Serializable {
}
this.digest = digest;
}
/**
* Returns duration in a human readable text.
*/
public String getDurationString() {
return Util.getTimeSpanString(duration);
}
public String getReadableExecutionId() {
if(executionId==null) return "-";
else return executionId;
}
}