File D:\maven-qcr-plugin-testsunitaires\qcr4java\jenkins-master\target\site\qc\core\src\main\java\hudson\util\AbstractTaskListener.java.html

1 package hudson.util;
2
3 import hudson.console.HyperlinkNote;
4 import hudson.model.TaskListener;
5
6 import java.io.IOException;
7
8 /**
9 * Partial default implementation of {@link TaskListener}
10 * @author Kohsuke Kawaguchi
11 */
12 public abstract class AbstractTaskListener implements TaskListener {
13 public void hyperlink(String url, String text) throws IOException {
14 annotate(new HyperlinkNote(url,text.length()));
15 getLogger().print(text);
16 }
17 }
18