public class FileDownloadCallable extends Object implements hudson.FilePath.FileCallable<net.sf.json.JSONObject>, LoggingOutputStream.Listener
| Constructor and Description |
|---|
FileDownloadCallable(String url) |
FileDownloadCallable(String url,
hudson.model.BuildListener listener) |
| Modifier and Type | Method and Description |
|---|---|
static String |
followRedirects(String url) |
net.sf.json.JSONObject |
invoke(File file,
hudson.remoting.VirtualChannel channel) |
void |
logPercentComplete(int percent) |
public FileDownloadCallable(String url)
public FileDownloadCallable(String url, hudson.model.BuildListener listener)
public net.sf.json.JSONObject invoke(File file, hudson.remoting.VirtualChannel channel)
invoke in interface hudson.FilePath.FileCallable<net.sf.json.JSONObject>public void logPercentComplete(int percent)
logPercentComplete in interface LoggingOutputStream.Listenerpublic static String followRedirects(String url) throws IOException
IOExceptionCopyright © 2004-2015. All Rights Reserved.