@Extension
public class DownloadableImpl
extends hudson.model.DownloadService.Downloadable
| Constructor and Description |
|---|
DownloadableImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public File resolve(String osName, String sunArchDataModel, hudson.model.TaskListener listener) throws IOException
IOExceptionpublic URL select(String osName, String sunArchDataModel) throws IOException
osName - Value of the osName system property.sunArchDataModel - Value of "sun.arch.data.model" system property.IOExceptionCopyright © 2004-2015. All Rights Reserved.