org.jenkinsci.plugins.chromedriver
Class DownloadableImpl
java.lang.Object
hudson.model.DownloadService.Downloadable
org.jenkinsci.plugins.chromedriver.DownloadableImpl
- All Implemented Interfaces:
- hudson.ExtensionPoint
@Extension
public class DownloadableImpl
- extends hudson.model.DownloadService.Downloadable
Downloads chromedriver installation data.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
File |
resolve(String osName,
String sunArchDataModel,
hudson.model.TaskListener listener)
If the package isn't downloaded yet, download it and return its local cache. |
URL |
select(String osName,
String sunArchDataModel)
Selects the right binary to download and returns its URL. |
| Methods inherited from class hudson.model.DownloadService.Downloadable |
all, doPostBack, get, getData, getDataFile, getDue, getId, getInterval, getUrl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadableImpl
public DownloadableImpl()
resolve
public File resolve(String osName,
String sunArchDataModel,
hudson.model.TaskListener listener)
throws IOException
- If the package isn't downloaded yet, download it and return its local cache.
- Throws:
IOException
select
public URL select(String osName,
String sunArchDataModel)
throws IOException
- Selects the right binary to download and returns its URL.
- Parameters:
osName - Value of the osName system property.sunArchDataModel - Value of "sun.arch.data.model" system property.
- Throws:
IOException
Copyright © 2004-2011. All Rights Reserved.