URLs in the console output are now hyperlinks.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28514 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2010-03-11 17:44:31 +00:00
1 parent 28cb11e0eb
commit 9bd333482d
4 files changed
+77

No files matched your search

@@ -119,6 +119,13 @@ public class MarkupText extends AbstractMarkupText {
addMarkup(0,length(),startTag,endTag);
}
/**
* Surrounds this subtext with <a>...</a>.
*/
public void href(String url) {
addHyperlink(0,length(),url);
}
/**
* Gets the start index of the captured group within {@link MarkupText#getText()}.
*