Package hudson.util

Source Code of hudson.util.AbstractTaskListener

package hudson.util;

import hudson.console.HyperlinkNote;
import hudson.model.TaskListener;

import java.io.IOException;

/**
* Partial default implementation of {@link TaskListener}
* @author Kohsuke Kawaguchi
*/
public abstract class AbstractTaskListener implements TaskListener {
    public void hyperlink(String url, String text) throws IOException {
        annotate(new HyperlinkNote(url,text.length()));
        getLogger().print(text);
    }
}
TOP

Related Classes of hudson.util.AbstractTaskListener

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.